28 lines
641 B
Nix
28 lines
641 B
Nix
{
|
|
buildMavenPackage,
|
|
fetchFromGitHub,
|
|
keycloak,
|
|
}:
|
|
let
|
|
inherit (keycloak) version;
|
|
in
|
|
buildMavenPackage {
|
|
inherit version;
|
|
pname = "keycloak-admin-ui";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "keycloak";
|
|
repo = "keycloak";
|
|
rev = version;
|
|
sha256 = "FP3BtkimEy4eAEYsuQ/56zonE1FVjxEJVRENXGbGhnQ=";
|
|
};
|
|
|
|
sourceRoot = "source/integration/admin-client";
|
|
|
|
mvnHash = "sha256-pH4LNVq7+ERi/Hm5T3AOacamDZR5POQxMFOYLCXL0OM=";
|
|
# mvnHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
|
|
installPhase = ''
|
|
install -D target/keycloak-admin-client-${version}.jar $out/keycloak-admin-client-${version}.jar
|
|
'';
|
|
}
|