vscode-extensions.github.copilot{*}: bump (#364729)
[NixPkgs.git] / pkgs / development / python-modules / trimesh / default.nix
blob96bf8cbcf491707736f0b1355d73056e1cfc9a74
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   setuptools,
6   pytestCheckHook,
7   pythonOlder,
8   numpy,
9   lxml,
12 buildPythonPackage rec {
13   pname = "trimesh";
14   version = "4.5.2";
15   pyproject = true;
17   disabled = pythonOlder "3.8";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-FlsS8omMPo3smaLtBexcg+r6L8gVC6jDD4s6YvaTQz8=";
22   };
24   build-system = [ setuptools ];
26   dependencies = [ numpy ];
28   nativeCheckInputs = [
29     lxml
30     pytestCheckHook
31   ];
33   disabledTests = [
34     # requires loading models which aren't part of the Pypi tarball
35     "test_load"
36   ];
38   pytestFlagsArray = [ "tests/test_minimal.py" ];
40   pythonImportsCheck = [ "trimesh" ];
42   meta = with lib; {
43     description = "Python library for loading and using triangular meshes";
44     homepage = "https://trimesh.org/";
45     changelog = "https://github.com/mikedh/trimesh/releases/tag/${version}";
46     license = licenses.mit;
47     mainProgram = "trimesh";
48     maintainers = with maintainers; [
49       gebner
50       pbsds
51     ];
52   };