27 lines
572 B
Nix
27 lines
572 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-Lk2CWzIV7UcDHy3hth9ccw3OUAsphM3llahHtehAcV0=";
|
||
|
};
|
||
|
|
||
|
sourceRoot = "source/integration/admin-client";
|
||
|
|
||
|
mvnHash = "sha256-HkVib0WCbl+/EuwUf8JiYKewIz1AntTvGySInsOkODE=";
|
||
|
|
||
|
installPhase = ''
|
||
|
install -D target/keycloak-admin-client-${version}.jar $out/keycloak-admin-client-${version}.jar
|
||
|
'';
|
||
|
}
|