python313Packages.matptloblib: relax meson-python

and bump the minimal version to 3.10.
This commit is contained in:
Martin Weinelt
2025-01-27 10:58:04 +01:00
parent 4d7e53b8e9
commit 449e8b9d11
@@ -93,7 +93,7 @@ buildPythonPackage rec {
pname = "matplotlib";
pyproject = true;
disabled = pythonOlder "3.8";
disabled = pythonOlder "3.10";
src = fetchPypi {
inherit pname version;
@@ -110,6 +110,9 @@ buildPythonPackage rec {
# script.
postPatch =
''
substituteInPlace pyproject.toml \
--replace-fail "meson-python>=0.13.1,<0.17.0" meson-python
patchShebangs tools
''
+ lib.optionalString (stdenv.hostPlatform.isLinux && interactive) ''