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 = "23.0.7.1709589021";
2024-01-03 01:15:44 +01:00
jarVersion = "23.0.1";
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 = "nsyFSD7uRm4X6n+4601HatnGzmV46FUIlc7ZPYXalJo=";
# 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
'';
}