nixpkgs/pkgs/tools/system/go-audit/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
650 B
Nix
Raw Normal View History

2021-01-24 21:07:38 +00:00
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "go-audit";
2023-04-19 05:53:12 +00:00
version = "1.2.0";
2021-01-24 21:07:38 +00:00
src = fetchFromGitHub {
owner = "slackhq";
repo = pname;
rev = "v${version}";
2023-04-19 05:53:12 +00:00
sha256 = "sha256-Li/bMgl/wj9bHpXW5gwWvb7BvyBPzeLCP979J2kyRCM=";
2021-01-24 21:07:38 +00:00
};
2023-04-19 05:53:12 +00:00
vendorHash = "sha256-JHimXGsUMAQqCutREsmtgDIf6Vda+it0IL3AfS86omU=";
2021-01-24 21:07:38 +00:00
# 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;
};
}