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

27 lines
572 B
Nix
Raw Normal View History

2023-11-03 16:29:31 +01:00
{ buildMavenPackage
, fetchFromGitHub
, keycloak
}:
let
inherit (keycloak) version;
in
buildMavenPackage {
inherit version;
pname = "keycloak-admin-ui";
src = fetchFromGitHub {
owner = "keycloak";
repo = "keycloak";
rev = version;
2024-01-02 22:45:29 +01:00
hash = "sha256-2tTdm8e+OUgO+g/ob1mw+4wFbr6wAPlnbCr8edKGuoE=";
2023-11-03 16:29:31 +01:00
};
sourceRoot = "source/integration/admin-client";
2024-01-02 22:45:29 +01:00
mvnHash = "sha256-dM9KBAjRPtea3kgmkEQiS953U/jAAXOfgpJOE/KuCOE=";
2023-11-03 16:29:31 +01:00
installPhase = ''
install -D target/keycloak-admin-client-${version}.jar $out/keycloak-admin-client-${version}.jar
'';
}