python313Packages.w3lib: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-02-24 20:26:06 +01:00
parent c5a03ce1d2
commit 9d5f2f3f28
@@ -6,13 +6,13 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "w3lib";
version = "2.4.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-4jOtIWSbadDgR6EPMBga6Wd1JKKfb3H288dY3AyNJkg=";
};
@@ -25,8 +25,8 @@ buildPythonPackage rec {
meta = {
description = "Library of web-related functions";
homepage = "https://github.com/scrapy/w3lib";
changelog = "https://github.com/scrapy/w3lib/blob/v${version}/NEWS";
changelog = "https://github.com/scrapy/w3lib/blob/${finalAttrs.version}/NEWS";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
})