Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at domenkozar-patch-1 30 lines 657 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5}: 6 7buildPythonPackage rec { 8 pname = "trimesh"; 9 version = "3.17.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-Aluy+jouh73Whz8R20Wnyhkhby+Lau0pFA/KV+MsKY4="; 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}