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

View File

@ -1,21 +1,23 @@
{ lib {
, stdenv lib,
, buildPythonPackage stdenv,
, fetchPypi buildPythonPackage,
, file fetchPypi,
, pythonOlder file,
pythonOlder,
setuptools,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sqlmap"; pname = "sqlmap";
version = "1.8.3"; version = "1.8.4";
format = "setuptools"; pyproject = true;
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-X3xz2ucuxr48q9gS9K19Zd7gYkRCpU+XLWMSrwiQMIo="; hash = "sha256-zTFdGDzvPlNebsepPxXn2++22YANlDu82yprs7eHfac=";
}; };
postPatch = '' postPatch = ''
@ -27,19 +29,19 @@ 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;
pythonImportsCheck = [ pythonImportsCheck = [ "sqlmap" ];
"sqlmap"
];
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";
}; };
} }