diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-24 22:07:38 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-24 22:07:38 +0100 |
commit | c4081a163c5d5e329e710b8b0635af29349e7996 (patch) | |
tree | 6f2d394b0eae54fc6031ec8a485b8a45b9adc81a /pkgs/tools/system | |
parent | 1af6e3aeedce4e7c41738f847923daba186adeb9 (diff) |
go-audit: init at 1.0.0
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/go-audit/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/system/go-audit/default.nix b/pkgs/tools/system/go-audit/default.nix new file mode 100644 index 0000000000000..9670a4d06848e --- /dev/null +++ b/pkgs/tools/system/go-audit/default.nix @@ -0,0 +1,29 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: + +buildGoModule rec { + pname = "go-audit"; + version = "1.0.0"; + + src = fetchFromGitHub { + owner = "slackhq"; + repo = pname; + rev = "v${version}"; + sha256 = "02iwjzaz2ks0zmwijaijwzc3gn9mhn7xpx369ylgaz68arlapfjg"; + }; + + vendorSha256 = "11kb7xm82s0d8d06b2jknwn3dfh4i0a1dv0740y47vk62sf6f05i"; + + # Tests need network access + doCheck = false; + + meta = with lib; { + description = "An alternative to the auditd daemon"; + homepage = "https://github.com/slackhq/go-audit"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + platforms = platforms.linux; + }; +} |