nixos-config/modules/keycloak/keycloak-orgs.nix

28 lines
745 B
Nix
Raw Normal View History

2024-02-05 11:46:52 +01:00
{ buildMavenPackage, fetchFromGitHub }:
2023-11-03 16:29:31 +01:00
let
2024-07-25 10:39:02 +02:00
version = "0.77";
2023-11-03 16:29:31 +01:00
in
buildMavenPackage {
inherit version;
pname = "keycloak-orgs";
src = fetchFromGitHub {
owner = "p2-inc";
repo = "keycloak-orgs";
rev = "v${version}";
2024-07-25 10:39:02 +02:00
hash = "sha256-Gz/Hspd8EHGzWIKOp+DRZ8TACfdPuIx0NjJqC6adEaA=";
2024-06-27 15:22:13 +02:00
# hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
2023-11-03 16:29:31 +01:00
};
2024-01-23 12:04:28 +01:00
doCheck = false;
2023-11-03 16:29:31 +01:00
2024-06-27 15:22:13 +02:00
mvnHash = "sha256-7mxdo60ofvoAPUiG/tNMH198DYD3Tn0jn6pVI4m9jQo=";
2024-01-23 12:04:28 +01:00
# mvnHash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
mvnParameters = "--batch-mode -DskipTests -Dmaven.test.skip=true -Dmaven.buildNumber.skip=true";
2023-11-03 16:29:31 +01:00
installPhase = ''
install -D target/keycloak-orgs-${version}.jar $out/keycloak-orgs-${version}.jar
'';
}