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
652 B
Nix
Raw Normal View History

2021-01-24 22:07:38 +01:00
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "go-audit";
2022-02-12 09:50:58 +01:00
version = "1.1.1";
2021-01-24 22:07:38 +01:00
src = fetchFromGitHub {
owner = "slackhq";
repo = pname;
rev = "v${version}";
2022-02-12 09:50:58 +01:00
sha256 = "sha256-iJm33IZ3kGWnGVDVbQCTvoo+dXBU5092YYXZG+Z7vi0=";
2021-01-24 22:07:38 +01:00
};
2022-02-12 09:50:58 +01:00
vendorSha256 = "sha256-sQBnnBZm7kM8IAfsFhSIBLo2LLdTimVAQw1ogWo/a4Y=";
2021-01-24 22:07:38 +01: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;
};
}