2020-05-10 18:02:26 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, numpy }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "trimesh";
|
2021-01-06 03:47:53 +00:00
|
|
|
version = "3.9.1";
|
2020-05-10 18:02:26 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-06 03:47:53 +00:00
|
|
|
sha256 = "d19cbdb830a17297aa218ba6ce4955fc11b4b553414289cfd71f58f8144cc91f";
|
2020-05-10 18:02:26 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|