27 lines
641 B
Nix
27 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;
|
|
hash = "sha256-SmK8xko+py5RnbwhCzDzpEDqUs52jdaVVNY7w1TXmRU=";
|
|
};
|
|
|
|
sourceRoot = "source/integration/admin-client";
|
|
|
|
mvnHash = "sha256-18V+g3LRndcQGhpyq3wWKM/u8lJQRd1064tatUZhGys=";
|
|
# mvnHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
|
|
installPhase = ''
|
|
install -D target/keycloak-admin-client-${version}.jar $out/keycloak-admin-client-${version}.jar
|
|
'';
|
|
}
|