depot/third_party/nixpkgs/pkgs/servers/keycloak/keycloak-restrict-client-auth/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

28 lines
797 B
Nix

{ maven, lib, fetchFromGitHub }:
maven.buildMavenPackage rec {
pname = "keycloak-restrict-client-auth";
version = "24.0.0";
src = fetchFromGitHub {
owner = "sventorben";
repo = "keycloak-restrict-client-auth";
rev = "v${version}";
hash = "sha256-Pk0tj8cTHSBwVIzINE7GLA5b/eI97wuOTvO7UoXBStM=";
};
mvnHash = "sha256-Pk2yYuBqGs4k1KwaU06RQe1LpohZu0VI1pHEUBU3EUE=";
installPhase = ''
runHook preInstall
install -Dm444 -t "$out" target/keycloak-restrict-client-auth.jar
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/sventorben/keycloak-restrict-client-auth";
description = "Keycloak authenticator to restrict authorization on clients";
license = licenses.mit;
maintainers = with maintainers; [ leona ];
};
}