25 lines
629 B
Nix
25 lines
629 B
Nix
{ lib, buildPythonPackage, fetchPypi, numpy }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "trimesh";
|
|
version = "3.7.14";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "bd3d88fc179d6dfd6d47f63dec4bb8da204c070e78cb2b483f86b33886bf627b";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|