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

25 lines
575 B
Nix
Raw Normal View History

2024-02-05 11:46:52 +01:00
{ stdenv, fetchFromGitHub }:
2023-11-08 09:30:22 +01:00
let
version = "24.0.2.1712258262";
2024-03-26 15:05:31 +01:00
jarVersion = "24.0.0";
2023-11-08 09:30:22 +01:00
in
stdenv.mkDerivation {
inherit version;
pname = "keycloak-p2-admin-ui";
src = fetchFromGitHub {
owner = "p2-inc";
repo = "phasetwo-containers";
2024-01-03 01:15:44 +01:00
rev = "v${version}";
sha256 = "OwqbcZfhlSkm7ilK1+D+fGnnIfCsu4v76hFFPbWWsas=";
# sha256 = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
2023-11-08 09:30:22 +01:00
};
doBuild = false;
doCheck = false;
installPhase = ''
2024-01-03 01:15:44 +01:00
install -D libs/ext/phasetwo-admin-ui-${jarVersion}.jar $out/phasetwo-admin-ui-${jarVersion}.jar
2023-11-08 09:30:22 +01:00
'';
}