3e7541c14f
GitOrigin-RevId: ff377a78794d412a35245e05428c8f95fef3951f
30 lines
670 B
Nix
30 lines
670 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, numpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "trimesh";
|
|
version = "3.9.40";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "321005b498361548ce2e048f8499a347d8f38c75ff9f74cee7b118c84b0c41d4";
|
|
};
|
|
|
|
propagatedBuildInputs = [ numpy ];
|
|
|
|
# tests are not included in pypi distributions and would require lots of
|
|
# optional dependencies
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "trimesh" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python library for loading and using triangular meshes";
|
|
homepage = "https://trimsh.org/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ gebner ];
|
|
};
|
|
}
|