Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
804 B
Nix
33 lines
804 B
Nix
{
|
|
maven,
|
|
lib,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
maven.buildMavenPackage rec {
|
|
pname = "keycloak-restrict-client-auth";
|
|
version = "26.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sventorben";
|
|
repo = "keycloak-restrict-client-auth";
|
|
rev = "v${version}";
|
|
hash = "sha256-nQ2AwXhSUu5RY/BbxXE2OXgEb7Zf6FfrGP5tfbgAXk8=";
|
|
};
|
|
|
|
mvnHash = "sha256-32un0gcpFI5wU9eShASzVnXmdhu3e+55iC3GBX/2yko=";
|
|
|
|
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 ];
|
|
};
|
|
}
|