packages/keycloak: init at 24.0.4
This commit is contained in:
parent
a7cc61d97e
commit
40cd0f90a6
2 changed files with 9 additions and 4 deletions
|
@ -18,11 +18,11 @@ let
|
||||||
'';
|
'';
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "keycloak";
|
pname = "keycloak";
|
||||||
version = "24.0.3";
|
version = "24.0.4";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/keycloak/keycloak/releases/download/${version}/keycloak-${version}.zip";
|
url = "https://github.com/keycloak/keycloak/releases/download/${version}/keycloak-${version}.zip";
|
||||||
hash = "sha256-VlCAUAa3e8ho8s1pA935B+bz4mvziDtayu0GB9yOTI4=";
|
hash = "sha256-tqY3rYFRsRpbvms8DVtCp8nXl0hlX1CzuOVFCE+23o4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper jre ];
|
nativeBuildInputs = [ makeWrapper jre ];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ maven, lib, fetchFromGitHub }:
|
{ maven, stdenv, lib, fetchFromGitHub }:
|
||||||
|
|
||||||
maven.buildMavenPackage rec {
|
maven.buildMavenPackage rec {
|
||||||
pname = "keycloak-metrics-spi";
|
pname = "keycloak-metrics-spi";
|
||||||
|
@ -11,7 +11,11 @@ maven.buildMavenPackage rec {
|
||||||
hash = "sha256-iagXbsKsU4vNP9eg05bwXEo67iij3N2FF0BW50MjRGE=";
|
hash = "sha256-iagXbsKsU4vNP9eg05bwXEo67iij3N2FF0BW50MjRGE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
mvnHash = "sha256-+ySBrQ9yQ5ZxuVUh/mnHNEmugru3n8x5VR/RYEDCLAo=";
|
mvnHash = {
|
||||||
|
aarch64-linux = "sha256-zO79pRrY8TqrSK4bB8l4pl6834aFX2pidyk1j9Itz1E=`";
|
||||||
|
x86_64-linux = "sha256-+ySBrQ9yQ5ZxuVUh/mnHNEmugru3n8x5VR/RYEDCLAo=";
|
||||||
|
}.${stdenv.hostPlatform.system} or (throw "Unsupported system ${stdenv.hostPlatform.system} for ${pname}");
|
||||||
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
@ -24,5 +28,6 @@ maven.buildMavenPackage rec {
|
||||||
description = "Keycloak Service Provider that adds a metrics endpoint";
|
description = "Keycloak Service Provider that adds a metrics endpoint";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ benley ];
|
maintainers = with maintainers; [ benley ];
|
||||||
|
platforms = [ "aarch64-linux" "x86_64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue