python3Packages.matplotlib: use finalAttrs pattern

This commit is contained in:
Doron Behar
2026-06-12 11:37:30 +03:00
parent c6bebdf2ef
commit cb9baef750
@@ -75,13 +75,13 @@ let
interactive = enableTk || enableGtk3 || enableQt;
in
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
version = "3.10.9";
pname = "matplotlib";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-/WZQjoxod9mOWGZUtgigRW241+ilRuseJgDv2VcwI1g=";
};
@@ -199,7 +199,7 @@ buildPythonPackage rec {
meta = {
description = "Python plotting library, making publication quality plots";
homepage = "https://matplotlib.org/";
changelog = "https://github.com/matplotlib/matplotlib/releases/tag/v${version}";
changelog = "https://github.com/matplotlib/matplotlib/releases/tag/v${finalAttrs.version}";
license = with lib.licenses; [
psfl
bsd0
@@ -209,4 +209,4 @@ buildPythonPackage rec {
doronbehar
];
};
}
})