mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
31 lines
657 B
Nix
31 lines
657 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, numpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "trimesh";
|
|
version = "3.20.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-JZl3I1X0bdQ2alz2zozPo6AyIvCLHDlklNRb9clYGNE=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|