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

24 lines
575 B
Nix

{ stdenv, fetchFromGitHub }:
let
version = "24.0.0.1711026409";
jarVersion = "24.0.0";
in
stdenv.mkDerivation {
inherit version;
pname = "keycloak-p2-admin-ui";
src = fetchFromGitHub {
owner = "p2-inc";
repo = "phasetwo-containers";
rev = "v${version}";
sha256 = "gwD/wHd/zmDKtie7PfCvDJi+QjeQqDlgOj7DGV531go=";
# sha256 = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
};
doBuild = false;
doCheck = false;
installPhase = ''
install -D libs/ext/phasetwo-admin-ui-${jarVersion}.jar $out/phasetwo-admin-ui-${jarVersion}.jar
'';
}