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

24 lines
575 B
Nix

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