27 lines
745 B
Nix
27 lines
745 B
Nix
{ buildMavenPackage, fetchFromGitHub }:
|
|
let
|
|
version = "0.49";
|
|
in
|
|
buildMavenPackage {
|
|
inherit version;
|
|
pname = "keycloak-orgs";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "p2-inc";
|
|
repo = "keycloak-orgs";
|
|
rev = "v${version}";
|
|
hash = "sha256-VkXyaQdAz/UsE+qTydRy4BMAxfo3pL2FbFIdmuhTehs=";
|
|
# hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
mvnHash = "sha256-U+llOMa//Foybtv1j1ClHDGOTQndc2rPkoIuH4huf+I=";
|
|
# 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
|
|
'';
|
|
}
|