depot/pkgs/by-name/gr/grimoire/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

35 lines
790 B
Nix

{
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";
};
}