28 lines
646 B
Nix
28 lines
646 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;
|
|
hash = "sha256-DgXUBnyrx4b7YH/w7EJFAPT35MEKTBQBNHFteW+A7hE=";
|
|
};
|
|
|
|
sourceRoot = "source/integration/admin-client";
|
|
|
|
mvnHash = "sha256-lf2CSOM3uWcG3lw7CHz7KBUMS6Av1M9ak7jFEQX/f1I=";
|
|
# mvnHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
|
|
installPhase = ''
|
|
install -D target/keycloak-admin-client-${version}.jar $out/keycloak-admin-client-${version}.jar
|
|
'';
|
|
}
|