1{ lib
2, buildPythonPackage
3, fetchPypi
4, numpy
5}:
6
7buildPythonPackage rec {
8 pname = "trimesh";
9 version = "3.15.8";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "sha256-bFUDm6/4XUyyrMxc1KKqbVi1gmUJ7Lxonei/HxlmGwI=";
14 };
15
16 propagatedBuildInputs = [ numpy ];
17
18 # tests are not included in pypi distributions and would require lots of
19 # optional dependencies
20 doCheck = false;
21
22 pythonImportsCheck = [ "trimesh" ];
23
24 meta = with lib; {
25 description = "Python library for loading and using triangular meshes";
26 homepage = "https://trimsh.org/";
27 license = licenses.mit;
28 maintainers = with maintainers; [ gebner ];
29 };
30}