python312Packages.sqlmap: refactor

This commit is contained in:
Fabian Affolter 2024-04-11 00:41:39 +02:00
parent ecde7fd7f4
commit 13c669b3d8
1 changed files with 7 additions and 2 deletions

View File

@ -4,12 +4,13 @@
, fetchPypi
, file
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "sqlmap";
version = "1.8.4";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
@ -27,6 +28,10 @@ buildPythonPackage rec {
echo 'LAST_UPDATE_NAGGING_DAYS = float("inf")' >> sqlmap/lib/core/settings.py
'';
build-system = [
setuptools
];
# No tests in archive
doCheck = false;
@ -36,10 +41,10 @@ buildPythonPackage rec {
meta = with lib; {
description = "Automatic SQL injection and database takeover tool";
mainProgram = "sqlmap";
homepage = "https://sqlmap.org";
changelog = "https://github.com/sqlmapproject/sqlmap/releases/tag/${version}";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ bennofs ];
mainProgram = "sqlmap";
};
}