about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/earlybird/default.nix
blob: 30916acda7205aae5c44ba0879ecbb1b998a967a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ 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;
  };
}