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

26 lines
518 B
Nix
Raw Normal View History

2023-11-08 09:30:22 +01:00
{ stdenv
, fetchFromGitHub
}:
let
2024-01-03 01:15:44 +01:00
version = "23.0.3.1703879005";
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}";
hash = "sha256-s+RuihsX2zekFqhVHKQu+0xECoJHJH4K3JQd4CDbPo0=";
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
'';
}