Unverified Commit 6c956c25 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

grimoire: init at 0.1.0 (#348894)

parents d06888ee 01623d6e
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
{
  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";
  };
}