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