nixpkgs-suyu/pkgs/servers/keycloak/keycloak-metrics-spi/default.nix
ngerstle e6d4b3b101 keycloak-metrics-spi: 2.5.3 -> 3.0.0
Version increase: compatible with keycloak 21

changelog:
    feat: adds support for Keycloak 21 (thanks @ghenadiibatalski )
    fix: realm names are now shown again instead of ids (thanks @diversit )
    other fixes and improvements (thanks @claudiunicolaa , @douph1 , @uberspot)
2023-05-13 17:52:30 +02:00

27 lines
755 B
Nix

{ stdenv, lib, fetchurl }:
stdenv.mkDerivation rec {
pname = "keycloak-metrics-spi";
version = "3.0.0";
src = fetchurl {
url = "https://github.com/aerogear/keycloak-metrics-spi/releases/download/${version}/keycloak-metrics-spi-${version}.jar";
sha256 = "1r06xjnvd7wxl64jqpms6jnl4csfwigb9n9lxcjpkgh2jzfs43sp";
};
dontUnpack = true;
dontBuild = true;
installPhase = ''
mkdir -p $out
install "$src" "$out"
'';
meta = with lib; {
homepage = "https://github.com/aerogear/keycloak-metrics-spi";
description = "Keycloak Service Provider that adds a metrics endpoint";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.apsl20;
maintainers = with maintainers; [ benley ];
};
}