python3Packages.sqlmap: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-03-12 14:37:27 +01:00
parent fe1b8d5580
commit 2ae4e428cf
@@ -7,13 +7,13 @@
setuptools,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "sqlmap";
version = "1.10.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-PRZvDidyvwjJ7oXU9Mu6eObHm08wWCjjHx6BPjP/Dlg=";
};
@@ -36,9 +36,9 @@ buildPythonPackage rec {
meta = {
description = "Automatic SQL injection and database takeover tool";
homepage = "https://sqlmap.org";
changelog = "https://github.com/sqlmapproject/sqlmap/releases/tag/${version}";
changelog = "https://github.com/sqlmapproject/sqlmap/releases/tag/${finalAttrs.version}";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ bennofs ];
mainProgram = "sqlmap";
};
}
})