nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 30 lines 657 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5}: 6 7buildPythonPackage rec { 8 pname = "trimesh"; 9 version = "3.12.3"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-MrvfSC6Uz/EJXQ3F5jAbWR0YJYRjqjwO7SIe0AUSOfA="; 14 }; 15 16 propagatedBuildInputs = [ numpy ]; 17 18 # tests are not included in pypi distributions and would require lots of 19 # optional dependencies 20 doCheck = false; 21 22 pythonImportsCheck = [ "trimesh" ]; 23 24 meta = with lib; { 25 description = "Python library for loading and using triangular meshes"; 26 homepage = "https://trimsh.org/"; 27 license = licenses.mit; 28 maintainers = with maintainers; [ gebner ]; 29 }; 30}