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