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 = "ZbI0ekuYOl7SSzoGHGOTs/u3hRHfh9qFH0FB953YxP0=";
|
|
};
|
|
|
|
sourceRoot = "source/integration/admin-client";
|
|
|
|
mvnHash = "sha256-Cru48OGrrBSjfHzPrEbRRZXxB75tIn5URw0fFILcTf0=";
|
|
# mvnHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
|
|
installPhase = ''
|
|
install -D target/keycloak-admin-client-${version}.jar $out/keycloak-admin-client-${version}.jar
|
|
'';
|
|
}
|