3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #219127 from fabaff/pyexploitdb

python310Packages.pyexploitdb: init at 0.2.9
This commit is contained in:
Fabian Affolter 2023-03-03 08:17:47 +01:00 committed by GitHub
commit cca003ae18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ 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 ];
};
}

View file

@ -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 { };