27 lines
735 B
Nix
27 lines
735 B
Nix
{ buildMavenPackage, fetchFromGitHub }:
|
|
let
|
|
version = "0.72";
|
|
in
|
|
buildMavenPackage {
|
|
inherit version;
|
|
pname = "keycloak-orgs";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "p2-inc";
|
|
repo = "keycloak-orgs";
|
|
rev = "v${version}";
|
|
sha256 = "HaetCeTjXW+4OM7UZkmryynASF/QUb6bPEWCMzKB0h8=";
|
|
# sha256 = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
mvnHash = "sha256-HfLuUy22JgRK0M8h0BQ31OMboY2XDo+eTt/TmYhHPZo=";
|
|
# mvnHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
|
|
mvnParameters = "--batch-mode -DskipTests -Dmaven.test.skip=true -Dmaven.buildNumber.skip=true";
|
|
|
|
installPhase = ''
|
|
install -D target/keycloak-orgs-${version}.jar $out/keycloak-orgs-${version}.jar
|
|
'';
|
|
}
|