My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/trimesh/default.nix

30 lines
657 B

{ lib
, buildPythonPackage
, fetchPypi
, numpy
}:
buildPythonPackage rec {
pname = "trimesh";
version = "3.12.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-RcRFF5vIMOQsPXbd2g8DSnOrWnpLLNe3Sa8PqAdwFvU=";
};
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 ];
};
}