python3Packages.sqlmap: migrate to finalAttrs
This commit is contained in:
@@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user