lol
1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "authz0";
8 version = "1.1.2";
9
10 src = fetchFromGitHub {
11 owner = "hahwul";
12 repo = pname;
13 rev = "v${version}";
14 hash = "sha256-NrArxuhzd57NIdM4d9p/wfCB1e6l83pV+cjjCgZ9YtM=";
15 };
16
17 vendorHash = "sha256-ARPrArvCgxLdCaiUdJyjB/9GbbldnMXwFbyYubbsqxc=";
18
19 meta = with lib; {
20 description = "Automated authorization test tool";
21 mainProgram = "authz0";
22 homepage = "https://github.com/hahwul/authz0";
23 license = licenses.mit;
24 maintainers = with maintainers; [ fab ];
25 };
26}