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";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "authz0";
|
2022-03-06 14:03:34 +00:00
|
|
|
homepage = "https://github.com/hahwul/authz0";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|