depot/third_party/nixpkgs/pkgs/tools/security/earlybird/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
781 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "earlybird";
version = "4.0.0";
src = fetchFromGitHub {
owner = "americanexpress";
repo = "earlybird";
rev = "v${version}";
hash = "sha256-guSm/ha4ICaOcoynvAwFeojE6ikaCykMcdfskD/ehTw=";
};
vendorHash = "sha256-39jXqCXAwg/C+9gEXiS1X58OD61nMNQifnhgVGEF6ck=";
ldflags = [ "-s" "-w" ];
meta = with lib; {
description = "Sensitive data detection tool capable of scanning source code repositories for passwords, key files, and more";
mainProgram = "earlybird";
homepage = "https://github.com/americanexpress/earlybird";
changelog = "https://github.com/americanexpress/earlybird/releases/tag/v${version}";
license = licenses.asl20;
maintainers = [ ];
};
}