depot/third_party/nixpkgs/pkgs/development/python-modules/pyexploitdb/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

42 lines
846 B
Nix

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