Skip to content

Commit

Permalink
python3Packages.pymunk: convert to pyproject, fix cross
Browse files Browse the repository at this point in the history
  • Loading branch information
SFrijters committed Nov 6, 2024
1 parent bfff86f commit c5e1b99
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions pkgs/development/python-modules/pymunk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
buildPythonPackage,
fetchPypi,
python,
setuptools,
cffi,
pytestCheckHook,
pythonOlder,
Expand All @@ -13,7 +14,7 @@
buildPythonPackage rec {
pname = "pymunk";
version = "6.9.0";
format = "setuptools";
pyproject = true;

disabled = pythonOlder "3.8";

Expand All @@ -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 ];

Expand Down

0 comments on commit c5e1b99

Please sign in to comment.