8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
30 lines
657 B
Nix
30 lines
657 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, numpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "trimesh";
|
|
version = "3.10.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-OYor+DQJkkQx8C5E0pmeGaymiYEyKkuKBLp12jkrhS8=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|