2024-05-11 10:25:37 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
gitpython,
|
|
|
|
pythonOlder,
|
|
|
|
requests,
|
|
|
|
setuptools,
|
2023-03-02 09:45:00 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyexploitdb";
|
2025-03-30 21:07:02 +02:00
|
|
|
version = "0.2.74";
|
2024-05-11 10:25:22 +02:00
|
|
|
pyproject = true;
|
2023-03-02 09:45:00 +01:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "pyExploitDb";
|
|
|
|
inherit version;
|
2025-03-30 21:07:02 +02:00
|
|
|
hash = "sha256-pQRyIv1wu78vNjxl5tt0kI34RvCEycEMMEtaOnlaa10=";
|
2023-03-02 09:45:00 +01:00
|
|
|
};
|
|
|
|
|
2024-05-11 10:25:37 +02:00
|
|
|
build-system = [ setuptools ];
|
2024-05-11 10:25:22 +02:00
|
|
|
|
|
|
|
dependencies = [
|
2023-03-02 09:45:00 +01:00
|
|
|
gitpython
|
|
|
|
requests
|
|
|
|
];
|
|
|
|
|
|
|
|
# Module has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2024-05-11 10:25:37 +02:00
|
|
|
pythonImportsCheck = [ "pyExploitDb" ];
|
2023-03-02 09:45:00 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library to fetch the most recent exploit-database";
|
2024-11-03 22:15:36 +01:00
|
|
|
homepage = "https://github.com/Hackman238/pyExploitDb";
|
|
|
|
changelog = "https://github.com/Hackman238/pyExploitDb/blob/master/ChangeLog.md";
|
2023-03-02 09:45:00 +01:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|