nixpkgs/pkgs/tools/security/authz0/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
575 B
Nix
Raw Normal View History

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