python3Packages.pymunk: init at 6.0.0

This commit is contained in:
Angus Trau 2021-07-16 10:19:41 +10:00
parent 7c9470a061
commit 443a880ccb
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, python
, cffi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pymunk";
version = "6.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "04jqqd2y0wzzkqppbl08vyzgbcpl5qj946w8da2ilypqdx7j2akp";
};
propagatedBuildInputs = [ cffi ];
preBuild = ''
${python.interpreter} setup.py build_ext --inplace
'';
checkInputs = [ pytestCheckHook ];
pytestFlagsArray = [
"pymunk/tests"
];
meta = with lib; {
description = "2d physics library";
homepage = "https://www.pymunk.org";
license = with licenses; [ mit ];
maintainers = with maintainers; [ angustrau ];
};
}

View file

@ -6250,6 +6250,8 @@ in {
pymumble = callPackage ../development/python-modules/pymumble { };
pymunk = callPackage ../development/python-modules/pymunk { };
pymupdf = callPackage ../development/python-modules/pymupdf { };
PyMVGLive = callPackage ../development/python-modules/pymvglive { };