Merge pull request #303234 from fabaff/sqlmap-bump

python312Packages.sqlmap: 1.8.3 -> 1.8.4
This commit is contained in:
Fabian Affolter 2024-04-11 08:08:48 +02:00 committed by GitHub
commit dd6456f54c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 13 deletions

View File

@ -1,21 +1,23 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, file
, pythonOlder
{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
file,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "sqlmap";
version = "1.8.3";
format = "setuptools";
version = "1.8.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-X3xz2ucuxr48q9gS9K19Zd7gYkRCpU+XLWMSrwiQMIo=";
hash = "sha256-zTFdGDzvPlNebsepPxXn2++22YANlDu82yprs7eHfac=";
};
postPatch = ''
@ -27,19 +29,19 @@ buildPythonPackage rec {
echo 'LAST_UPDATE_NAGGING_DAYS = float("inf")' >> sqlmap/lib/core/settings.py
'';
build-system = [ setuptools ];
# No tests in archive
doCheck = false;
pythonImportsCheck = [
"sqlmap"
];
pythonImportsCheck = [ "sqlmap" ];
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";
};
}