nixos-config/modules/keycloak/keycloak-admin-ui.nix

29 lines
646 B
Nix
Raw Normal View History

2024-02-05 11:46:52 +01:00
{
buildMavenPackage,
fetchFromGitHub,
keycloak,
2023-11-03 16:29:31 +01:00
}:
let
inherit (keycloak) version;
in
buildMavenPackage {
inherit version;
pname = "keycloak-admin-ui";
src = fetchFromGitHub {
owner = "keycloak";
repo = "keycloak";
rev = version;
2024-09-23 13:39:40 +02:00
hash = "sha256-OuqECd4Mru6P4WDHf+79C3wSL7H6GvDMZoX70Zim1FI=";
2023-11-03 16:29:31 +01:00
};
sourceRoot = "source/integration/admin-client";
2024-09-23 13:39:40 +02:00
mvnHash = "sha256-uFqCrPTuXZJTZ3cIBqJPKbf0nkWvdtdTeVV8lMYW1xs=";
2024-01-23 12:04:28 +01:00
# mvnHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
2023-11-03 16:29:31 +01:00
installPhase = ''
install -D target/keycloak-admin-client-${version}.jar $out/keycloak-admin-client-${version}.jar
'';
}