python313Packages.parsel: migrate to finalAttrs

This commit is contained in:
Fabian Affolter
2026-02-01 02:22:02 +01:00
parent 00e386641b
commit 3a9be02a49
@@ -13,13 +13,13 @@
w3lib,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "parsel";
version = "1.11.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-WSX+CH6xb8QEp+2R4x4sHiqbIw2ktk802BNYwNDifog=";
};
@@ -49,8 +49,8 @@ buildPythonPackage rec {
meta = {
description = "Python library to extract data from HTML and XML using XPath and CSS selectors";
homepage = "https://github.com/scrapy/parsel";
changelog = "https://github.com/scrapy/parsel/blob/v${version}/NEWS";
changelog = "https://github.com/scrapy/parsel/blob/v${finalAttrs.version}/NEWS";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
}
})