mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
Merge pull request #303234 from fabaff/sqlmap-bump
python312Packages.sqlmap: 1.8.3 -> 1.8.4
This commit is contained in:
commit
dd6456f54c
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue