nixpkgs/pkgs/by-name/gr/grimoire/package.nix

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

36 lines
790 B
Nix
Raw Normal View History

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "grimoire";
version = "0.1.0";
src = fetchFromGitHub {
owner = "DataDog";
repo = "grimoire";
rev = "refs/tags/v${version}";
hash = "sha256-V6j6PBoZqTvGfYSbpxd0vOyTb/i2EV8pDVSuZeq1s5o=";
};
vendorHash = "sha256-K1kVXSfIjBpuJ7TyTCtaWj6jWRXPQdBvUlf5LC60tj0=";
subPackages = [ "cmd/grimoire/" ];
ldflags = [
"-s"
"-w"
];
meta = {
description = "Tool to generate datasets of cloud audit logs for common attacks";
homepage = "https://github.com/DataDog/grimoire";
changelog = "https://github.com/DataDog/grimoire/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "grimoire";
};
}