24 lines
575 B
Nix
24 lines
575 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
let
|
|
version = "24.0.2.1712258262";
|
|
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 = "OwqbcZfhlSkm7ilK1+D+fGnnIfCsu4v76hFFPbWWsas=";
|
|
# sha256 = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
};
|
|
|
|
doBuild = false;
|
|
doCheck = false;
|
|
|
|
installPhase = ''
|
|
install -D libs/ext/phasetwo-admin-ui-${jarVersion}.jar $out/phasetwo-admin-ui-${jarVersion}.jar
|
|
'';
|
|
}
|