keycloak: Add Phase Two admin ui
This commit is contained in:
parent
902e854d17
commit
97fe4cfc07
2 changed files with 27 additions and 0 deletions
|
@ -55,6 +55,9 @@ in
|
||||||
inherit (pkgs.maven) buildMavenPackage;
|
inherit (pkgs.maven) buildMavenPackage;
|
||||||
keycloak = config.services.keycloak.package;
|
keycloak = config.services.keycloak.package;
|
||||||
})
|
})
|
||||||
|
(pkgs.callPackage ./phasetwo-admin-ui.nix {
|
||||||
|
inherit (pkgs) stdenv fetchFromGitHub;
|
||||||
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
24
modules/keycloak/phasetwo-admin-ui.nix
Normal file
24
modules/keycloak/phasetwo-admin-ui.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
version = "22.0.1";
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
inherit version;
|
||||||
|
pname = "keycloak-p2-admin-ui";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "p2-inc";
|
||||||
|
repo = "phasetwo-containers";
|
||||||
|
rev = "fac90ab2af4b82b59b8fdf6009606ddebe68a2f6";
|
||||||
|
hash = "sha256-IZQXIZOjm9DDf56Q8ayRvycs65P/eRP82FwGC8n7ZcY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
doBuild = false;
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -D libs/ext/phasetwo-admin-ui-${version}.jar $out/phasetwo-admin-ui-${version}.jar
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue