Unverified Commit cca003ae authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #219127 from fabaff/pyexploitdb

python310Packages.pyexploitdb: init at 0.2.9
parents e58fb64d b7da4371
Loading
Loading
Loading
Loading
+42 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, gitpython
, pytestCheckHook
, pythonOlder
, requests
}:

buildPythonPackage rec {
  pname = "pyexploitdb";
  version = "0.2.9";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    pname = "pyExploitDb";
    inherit version;
    hash = "sha256-q16YB0lLlw9nXohcT20l41Bv40CqshWzE8nVBBSEppE=";
  };

  propagatedBuildInputs = [
    gitpython
    requests
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [
    "pyExploitDb"
  ];

  meta = with lib; {
    description = "Library to fetch the most recent exploit-database";
    homepage = "https://github.com/GoVanguard/pyExploitDb";
    changelog = "https://github.com/GoVanguard/pyExploitDb/blob/master/Changelog.txt";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ fab ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8089,6 +8089,8 @@ self: super: with self; {

  pyexcel-xls = callPackage ../development/python-modules/pyexcel-xls { };

  pyexploitdb = callPackage ../development/python-modules/pyexploitdb { };

  pyezviz = callPackage ../development/python-modules/pyezviz { };

  pyface = callPackage ../development/python-modules/pyface { };