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

25 lines
585 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
2024-09-23 13:39:40 +02:00
version = "25.0.6.1726826200";
jarVersion = "25.0.4";
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}";
2024-09-23 13:39:40 +02:00
hash = "sha256-QbfZsUUsspWIOOpw508pqlXzUO1QR8t8PcDc7mdFqec=";
2024-06-27 15:22:13 +02:00
# hash = "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
'';
}