nixpkgs/pkgs/tools/security/earlybird/default.nix

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

30 lines
783 B
Nix
Raw Normal View History

2021-04-16 00:52:00 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
2023-08-26 04:20:00 +00:00
buildGoModule rec {
2021-04-16 00:52:00 +00:00
pname = "earlybird";
2023-12-23 10:52:03 +00:00
version = "4.0.0";
2021-04-16 00:52:00 +00:00
src = fetchFromGitHub {
owner = "americanexpress";
repo = "earlybird";
2023-08-26 04:20:00 +00:00
rev = "v${version}";
2023-12-23 10:52:03 +00:00
hash = "sha256-guSm/ha4ICaOcoynvAwFeojE6ikaCykMcdfskD/ehTw=";
2021-04-16 00:52:00 +00:00
};
2023-12-23 10:52:03 +00:00
vendorHash = "sha256-39jXqCXAwg/C+9gEXiS1X58OD61nMNQifnhgVGEF6ck=";
2023-08-26 04:20:00 +00:00
ldflags = [ "-s" "-w" ];
2021-04-16 00:52:00 +00:00
meta = with lib; {
description = "A sensitive data detection tool capable of scanning source code repositories for passwords, key files, and more";
mainProgram = "earlybird";
2021-04-16 00:52:00 +00:00
homepage = "https://github.com/americanexpress/earlybird";
2023-08-26 04:20:00 +00:00
changelog = "https://github.com/americanexpress/earlybird/releases/tag/v${version}";
2021-04-16 00:52:00 +00:00
license = licenses.asl20;
2023-03-22 14:13:22 +00:00
maintainers = [ ];
2021-04-16 00:52:00 +00:00
};
}