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 = "+T8Y3/CkWFslhzGH+5uceb7hYJioxivMkLHTBYvq7KM=";
|
|
};
|
|
|
|
sourceRoot = "source/integration/admin-client";
|
|
|
|
mvnHash = "sha256-6vlH568z0oeBZQu953DNMkpneqzwFh9o7wmG1iOaoxA=";
|
|
# mvnHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
|
|
installPhase = ''
|
|
install -D target/keycloak-admin-client-${version}.jar $out/keycloak-admin-client-${version}.jar
|
|
'';
|
|
}
|