Skip to content

Commit

Permalink
keycloak.plugins.keycloak-metrics-spi: 5.0.0 -> 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Oct 10, 2024
1 parent cabf81a commit 990d052
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions pkgs/servers/keycloak/keycloak-metrics-spi/default.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{ maven, stdenv, lib, fetchFromGitHub }:
{
maven,
lib,
fetchFromGitHub,
}:

maven.buildMavenPackage rec {
pname = "keycloak-metrics-spi";
version = "5.0.0";
version = "6.0.0";

src = fetchFromGitHub {
owner = "aerogear";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-iagXbsKsU4vNP9eg05bwXEo67iij3N2FF0BW50MjRGE=";
hash = "sha256-MMonBRau8FpfCqija6NEdvp4zJfEub2Kwk4MA7FYWHI=";
};

mvnHash = {
aarch64-linux = "sha256-zO79pRrY8TqrSK4bB8l4pl6834aFX2pidyk1j9Itz1E=`";
x86_64-linux = "sha256-+ySBrQ9yQ5ZxuVUh/mnHNEmugru3n8x5VR/RYEDCLAo=";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system ${stdenv.hostPlatform.system} for ${pname}");

mvnHash = "sha256-IrqDybt9bltX0WbGpbEXORHGFC/1f2Y9izSBPTrYCaY=";

installPhase = ''
runHook preInstall
install -Dm444 -t "$out" target/keycloak-metrics-spi-*.jar
runHook postInstall
'';

meta = with lib; {
meta = {
homepage = "https://github.com/aerogear/keycloak-metrics-spi";
description = "Keycloak Service Provider that adds a metrics endpoint";
license = licenses.asl20;
maintainers = with maintainers; [ benley ];
platforms = [ "aarch64-linux" "x86_64-linux" ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ benley ];
platforms = lib.platforms.linux;
};
}

0 comments on commit 990d052

Please sign in to comment.