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