9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
27 lines
754 B
Nix
27 lines
754 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.asl20;
|
|
maintainers = with maintainers; [ benley ];
|
|
};
|
|
}
|