nixpkgs/pkgs/by-name/gr/grimoire/package.nix
Fabian Affolter 01623d6e80 grimoire: init at 0.1.0
Tool to generate datasets of cloud audit logs for common attacks

https://github.com/DataDog/grimoire
2024-10-15 23:36:02 +02:00

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