2020-05-15 21:57:56 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, numpy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "trimesh";
|
2020-08-20 17:08:02 +00:00
|
|
|
version = "3.7.14";
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-20 17:08:02 +00:00
|
|
|
sha256 = "bd3d88fc179d6dfd6d47f63dec4bb8da204c070e78cb2b483f86b33886bf627b";
|
2020-05-15 21:57:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
|
|
|
|
# tests are not included in pypi distributions and would require lots of
|
|
|
|
# optional dependencies
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for loading and using triangular meshes.";
|
|
|
|
homepage = "https://trimsh.org/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
};
|
|
|
|
}
|