about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/ghdorker/default.nix
blob: 28336c30ea1518878518b45bce2b079ce8f81a61 (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
27
28
29
30
31
32
33
34
35
36
{ lib
, python3
, fetchPypi
}:

python3.pkgs.buildPythonApplication rec {
  pname = "ghdorker";
  version = "0.3.2";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-wF4QoXxH55SpdYgKLHf4sCwUk1rkCpSdnIX5FvFi/BU=";
  };

  propagatedBuildInputs = with python3.pkgs; [
    ghapi
    glom
    python-dotenv
    pyyaml
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "GHDorker"
  ];

  meta = with lib; {
    description = "Extensible GitHub dorking tool";
    homepage = "https://github.com/dtaivpp/ghdorker";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ fab ];
  };
}