Merge pull request #130329 from angustrau/pymunk
python3Packages.pymunk: init at 6.0.0
This commit is contained in:
commit
b2cf19d12f
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/pymunk/default.nix
Normal file
36
pkgs/development/python-modules/pymunk/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -6273,6 +6273,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 { };
|
||||
|
|
Loading…
Reference in a new issue