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