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