Files
nixpkgs/pkgs/development/python-modules/pyexploitdb/default.nix

40 lines
792 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
gitpython,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pyexploitdb";
version = "0.3.7";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-S5Uiu5Boz0674pEE+Mbt/xvD6UAwHVHQHeAwJ8SyVWc=";
};
build-system = [ setuptools ];
dependencies = [
gitpython
requests
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "pyexploitdb" ];
meta = {
description = "Library to fetch the most recent exploit-database";
homepage = "https://github.com/Hackman238/pyExploitDb";
changelog = "https://github.com/Hackman238/pyExploitDb/blob/master/ChangeLog.md";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ fab ];
};
}