Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildGoModule 2, fetchFromGitHub 3, lib 4}: 5 6buildGoModule rec { 7 pname = "go-audit"; 8 version = "1.2.0"; 9 10 src = fetchFromGitHub { 11 owner = "slackhq"; 12 repo = pname; 13 rev = "v${version}"; 14 sha256 = "sha256-Li/bMgl/wj9bHpXW5gwWvb7BvyBPzeLCP979J2kyRCM="; 15 }; 16 17 vendorHash = "sha256-JHimXGsUMAQqCutREsmtgDIf6Vda+it0IL3AfS86omU="; 18 19 # Tests need network access 20 doCheck = false; 21 22 meta = with lib; { 23 description = "An alternative to the auditd daemon"; 24 homepage = "https://github.com/slackhq/go-audit"; 25 license = with licenses; [ mit ]; 26 maintainers = with maintainers; [ fab ]; 27 platforms = platforms.linux; 28 }; 29}