From e42620f7dc87549af5a71dab80eb819f5336f1ae Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 21 Jan 2026 18:35:32 +0100 Subject: [PATCH] python3Packages.meson-python: 0.18.0 -> 0.19.0 https://github.com/mesonbuild/meson-python/blob/0.19.0/CHANGELOG.rst This commit was automatically generated using update-python-libraries. --- .../python-modules/meson-python/default.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/meson-python/default.nix b/pkgs/development/python-modules/meson-python/default.nix index 96c7b369004c..7155cab7c5ae 100644 --- a/pkgs/development/python-modules/meson-python/default.nix +++ b/pkgs/development/python-modules/meson-python/default.nix @@ -13,6 +13,7 @@ tomli, # tests + cmake, cython, gitMinimal, pytestCheckHook, @@ -21,23 +22,15 @@ buildPythonPackage rec { pname = "meson-python"; - version = "0.18.0"; + version = "0.19.0"; pyproject = true; src = fetchPypi { inherit version; pname = "meson_python"; - hash = "sha256-xWqZ7J32aaQGYv5GlgMhr25LFBBsFNsihwnBYo4jhI0="; + hash = "sha256-mVnRmKpptX/P01SjRRjG95W3gac+0GVvTQFmAWDMJVM="; }; - patches = [ - (fetchpatch { - # TODO: Remove in 0.19.0 - url = "https://github.com/mesonbuild/meson-python/commit/1e69e7a23f2b24d688dc4220e93de6f0e2bcf9d2.patch"; - hash = "sha256-FC2ll/OrLV1R0CDB6UkrknVASJQ7rSU+sApdAk75x44="; - }) - ]; - build-system = [ meson ninja @@ -53,12 +46,15 @@ buildPythonPackage rec { ++ lib.optionals (pythonOlder "3.11") [ tomli ]; nativeCheckInputs = [ + cmake cython gitMinimal pytestCheckHook pytest-mock ]; + dontUseCmakeConfigure = true; + # meson-python respectes MACOSX_DEPLOYMENT_TARGET, but compares it with the # actual platform version during tests, which mismatches. # https://github.com/mesonbuild/meson-python/issues/760