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