2025-05-29 17:04:28 +02:00

28 lines
583 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "authz0";
version = "1.1.2";
src = fetchFromGitHub {
owner = "hahwul";
repo = "authz0";
rev = "v${version}";
hash = "sha256-NrArxuhzd57NIdM4d9p/wfCB1e6l83pV+cjjCgZ9YtM=";
};
vendorHash = "sha256-ARPrArvCgxLdCaiUdJyjB/9GbbldnMXwFbyYubbsqxc=";
meta = with lib; {
description = "Automated authorization test tool";
mainProgram = "authz0";
homepage = "https://github.com/hahwul/authz0";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}