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