From c5e1b99ba9ec52800cdf300b7188914ddc843547 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Sun, 15 Sep 2024 18:41:25 +0200 Subject: [PATCH] python3Packages.pymunk: convert to pyproject, fix cross --- pkgs/development/python-modules/pymunk/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pymunk/default.nix b/pkgs/development/python-modules/pymunk/default.nix index 1bd747f85eb5d..f249e0cd39e31 100644 --- a/pkgs/development/python-modules/pymunk/default.nix +++ b/pkgs/development/python-modules/pymunk/default.nix @@ -4,6 +4,7 @@ buildPythonPackage, fetchPypi, python, + setuptools, cffi, pytestCheckHook, pythonOlder, @@ -13,7 +14,7 @@ buildPythonPackage rec { pname = "pymunk"; version = "6.9.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.8"; @@ -22,7 +23,11 @@ buildPythonPackage rec { hash = "sha256-dl98VhqFmhtWW8UXpHzDmS1iWOhg+RdMUzAzwhivY8M="; }; - propagatedBuildInputs = [ cffi ]; + nativeBuildInputs = [ cffi ]; + + build-system = [ setuptools ]; + + dependencies = [ cffi ]; buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ ApplicationServices ];