depot/third_party/nixpkgs/pkgs/development/python-modules/trimesh/default.nix

25 lines
617 B
Nix
Raw Normal View History

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