about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/chopchop/default.nix
blob: 10ac9e7f4a77022a4b8f208ab16078f760376a0d (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
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "chopchop";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "michelin";
    repo = "ChopChop";
    rev = "v${version}";
    sha256 = "qSBQdcS6d0tctSHRbkY4T7s6Zj7xI2abaPUvNKh1M2E=";
  };

  vendorSha256 = "UxWARWOFp8AYKEdiJwRZNwFrphgMTJSZjnvktTNOsgU=";

  meta = with lib; {
    description = "CLI to search for sensitive services/files/folders";
    homepage = "https://github.com/michelin/ChopChop";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab ];
  };
}