3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/ghdorker/default.nix

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

37 lines
675 B
Nix
Raw Normal View History

2021-12-15 11:42:08 +00:00
{ lib
, python3
, fetchPypi
2021-12-15 11:42:08 +00:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "ghdorker";
version = "0.3.2";
format = "setuptools";
src = fetchPypi {
2021-12-15 11:42:08 +00:00
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 ];
};
}