23 lines
517 B
Nix
23 lines
517 B
Nix
{ stdenv, fetchFromGitHub }:
|
|
let
|
|
version = "23.0.3.1703879005";
|
|
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}";
|
|
hash = "sha256-s+RuihsX2zekFqhVHKQu+0xECoJHJH4K3JQd4CDbPo0=";
|
|
};
|
|
|
|
doBuild = false;
|
|
doCheck = false;
|
|
|
|
installPhase = ''
|
|
install -D libs/ext/phasetwo-admin-ui-${jarVersion}.jar $out/phasetwo-admin-ui-${jarVersion}.jar
|
|
'';
|
|
}
|