1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 gitpython, 6 pytestCheckHook, 7 pythonOlder, 8 requests, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "pyexploitdb"; 14 version = "0.2.18"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 pname = "pyExploitDb"; 21 inherit version; 22 hash = "sha256-pwlS0304aTSrGZFIj5f+jstcFwcy/liqQBW8p7hUhKE="; 23 }; 24 25 build-system = [ setuptools ]; 26 27 dependencies = [ 28 gitpython 29 requests 30 ]; 31 32 # Module has no tests 33 doCheck = false; 34 35 pythonImportsCheck = [ "pyExploitDb" ]; 36 37 meta = with lib; { 38 description = "Library to fetch the most recent exploit-database"; 39 homepage = "https://github.com/GoVanguard/pyExploitDb"; 40 changelog = "https://github.com/GoVanguard/pyExploitDb/blob/master/ChangeLog.md"; 41 license = licenses.gpl3Plus; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}