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-03-26 15:05:31 +01:00
version = "24.0.0.1711026409";
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-03-26 15:05:31 +01:00
sha256 = "gwD/wHd/zmDKtie7PfCvDJi+QjeQqDlgOj7DGV531go=";
# 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
'';
}