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