mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 10:53:52 +00:00
31 lines
670 B
Nix
31 lines
670 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, numpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "trimesh";
|
|
version = "3.9.43";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f7d4adf2df0fe19ea49c5f3268c33ffe28b3be818d280bb4c113d7463c58ddf9";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|