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

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

33 lines
807 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-08-26 04:20:00 +00:00
version = "3.16.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}";
hash = "sha256-qSW8O13UW5L2eVsqIuqOguhCyZBPqevZ9fJ7qkraa7M=";
2021-04-16 00:52:00 +00:00
};
2023-08-26 04:20:00 +00:00
patches = [
./fix-go.mod-dependency.patch
];
vendorHash = "sha256-ktsQvWc0CTnqOer+9cc0BddrQp0F3Xk7YJP3jxfuw1w=";
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";
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
};
}