1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-19 07:59:24 +03:00
nixpkgs/pkgs/development/python-modules/pyexploitdb/default.nix

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

44 lines
888 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchPypi,
gitpython,
pythonOlder,
requests,
setuptools,
}:
buildPythonPackage rec {
pname = "pyexploitdb";
version = "0.2.53";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pyExploitDb";
inherit version;
hash = "sha256-NebM8nhIo4Hgf7iwSV2utcrqR1kLh+cpmqV1Gc9r8cw=";
};
build-system = [ setuptools ];
dependencies = [
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/Hackman238/pyExploitDb/pyExploitDb";
changelog = "https://github.com/Hackman238/pyExploitDb/pyExploitDb/blob/master/ChangeLog.md";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ fab ];
};
}