2021-08-22 07:53:02 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, numpy
|
|
|
|
}:
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "trimesh";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "3.15.5";
|
2020-05-15 21:57:56 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-jzQEsrCwSB+OY9XGmztkvbM2ZzT4mUkuYvO86ed6XUc=";
|
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;
|
|
|
|
|
2021-08-22 07:53:02 +00:00
|
|
|
pythonImportsCheck = [ "trimesh" ];
|
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
meta = with lib; {
|
2021-08-22 07:53:02 +00:00
|
|
|
description = "Python library for loading and using triangular meshes";
|
2020-05-15 21:57:56 +00:00
|
|
|
homepage = "https://trimsh.org/";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
};
|
|
|
|
}
|