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
2024-05-20 15:13:27 +02:00
version = "24.0.4.1715362488";
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}";
2024-05-20 15:13:27 +02:00
sha256 = "J8ffCVYmDGi/eLlTTcR+k73f9nXlCQoCY7GNMi5f584=";
# 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
'';
}