keycloak-scim/flake.nix
Hugo Renard f93c863e00
Some checks failed
/ build (push) Successful in 6s
/ release (push) Failing after 2s
wip
2024-11-26 17:01:23 +01:00

44 lines
1.1 KiB
Nix

{
description = "SCIM client Keycloak extension";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
packages.default = pkgs.maven.buildMavenPackage rec {
pname = "keycloak-scim";
version = "1.0-SNAPSHOT";
src = ./.;
mvnHash = "sha256-y3ASPCAbgwSJNu4NiBeWNFc8YA903C0e5z0/TSlc3Og=";
installPhase = ''
cp target/${pname}-${version}-jar-with-dependencies.jar $out
'';
# meta = with lib; {
# description = "Simple command line wrapper around JD Core Java Decompiler project";
# homepage = "https://github.com/intoolswetrust/jd-cli";
# license = licenses.gpl3Plus;
# maintainers = with maintainers; [ majiir ];
# };
};
devShells.default = pkgs.mkShell {
nativeBuildInputs = [ pkgs.maven ];
};
}
);
}