about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/authz0/default.nix
blob: 04d2598fd52194b030c9ff14e8b444b99e597ac5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "authz0";
  version = "1.1.2";

  src = fetchFromGitHub {
    owner = "hahwul";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-NrArxuhzd57NIdM4d9p/wfCB1e6l83pV+cjjCgZ9YtM=";
  };

  vendorHash = "sha256-ARPrArvCgxLdCaiUdJyjB/9GbbldnMXwFbyYubbsqxc=";

  meta = with lib; {
    description = "Automated authorization test tool";
    homepage = "https://github.com/hahwul/authz0";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}