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

27 lines
795 B
Nix
Raw Normal View History

2021-04-16 02:52:00 +02:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule {
pname = "earlybird";
version = "1.25.0";
src = fetchFromGitHub {
owner = "americanexpress";
repo = "earlybird";
# According to the GitHub repo, the latest version *is* 1.25.0, but they
# tagged it as "refs/heads/main-2"
rev = "4f365f1c02972dc0a68a196a262912d9c4325b21";
sha256 = "UZXHYBwBmb9J1HrE/htPZcKvZ+7mc+oXnUtzgBmBgN4=";
};
vendorSha256 = "oSHBR1EvK/1+cXqGNCE9tWn6Kd/BwNY3m5XrKCAijhA=";
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";
license = licenses.asl20;
maintainers = teams.determinatesystems.members;
};
}