Loading pkgs/development/python-modules/trimesh/default.nix +40 −1 Original line number Diff line number Diff line { lib, python, buildPythonPackage, fetchFromGitHub, setuptools, Loading @@ -7,6 +8,7 @@ pythonOlder, numpy, lxml, trimesh, }: buildPythonPackage rec { Loading @@ -27,6 +29,31 @@ buildPythonPackage rec { dependencies = [ numpy ]; optional-dependencies = with python.pkgs; { easy = [ colorlog manifold3d charset-normalizer lxml jsonschema networkx svg-path pycollada shapely xxhash rtree httpx scipy pillow # vhacdx # not packaged mapbox-earcut ] ++ lib.optionals embreex.meta.available [ embreex ]; }; nativeCheckInputs = [ lxml pytestCheckHook Loading @@ -39,7 +66,19 @@ buildPythonPackage rec { pytestFlagsArray = [ "tests/test_minimal.py" ]; pythonImportsCheck = [ "trimesh" ]; pythonImportsCheck = [ "trimesh" "trimesh.ray" "trimesh.path" "trimesh.path.exchange" "trimesh.scene" "trimesh.voxel" "trimesh.visual" "trimesh.viewer" "trimesh.exchange" "trimesh.resources" "trimesh.interfaces" ]; meta = { description = "Python library for loading and using triangular meshes"; Loading Loading
pkgs/development/python-modules/trimesh/default.nix +40 −1 Original line number Diff line number Diff line { lib, python, buildPythonPackage, fetchFromGitHub, setuptools, Loading @@ -7,6 +8,7 @@ pythonOlder, numpy, lxml, trimesh, }: buildPythonPackage rec { Loading @@ -27,6 +29,31 @@ buildPythonPackage rec { dependencies = [ numpy ]; optional-dependencies = with python.pkgs; { easy = [ colorlog manifold3d charset-normalizer lxml jsonschema networkx svg-path pycollada shapely xxhash rtree httpx scipy pillow # vhacdx # not packaged mapbox-earcut ] ++ lib.optionals embreex.meta.available [ embreex ]; }; nativeCheckInputs = [ lxml pytestCheckHook Loading @@ -39,7 +66,19 @@ buildPythonPackage rec { pytestFlagsArray = [ "tests/test_minimal.py" ]; pythonImportsCheck = [ "trimesh" ]; pythonImportsCheck = [ "trimesh" "trimesh.ray" "trimesh.path" "trimesh.path.exchange" "trimesh.scene" "trimesh.voxel" "trimesh.visual" "trimesh.viewer" "trimesh.exchange" "trimesh.resources" "trimesh.interfaces" ]; meta = { description = "Python library for loading and using triangular meshes"; Loading