about summary refs log tree commit diff
path: root/pkgs/development/python-modules/trimesh
diff options
context:
space:
mode:
authorGabriel Ebner <gebner@gebner.org>2020-05-10 19:02:26 +0200
committerGabriel Ebner <gebner@gebner.org>2020-05-10 19:05:55 +0200
commit53df8b1a2750ef5da3a911163a80c6b5d660c551 (patch)
tree4405ee0e475859ddccb82310213a84b6ad495d7a /pkgs/development/python-modules/trimesh
parentae4d9cb9a0bc242ec587a756c53fdacddae1ef45 (diff)
python3Packages.trimesh: init at 3.6.36
Diffstat (limited to 'pkgs/development/python-modules/trimesh')
-rw-r--r--pkgs/development/python-modules/trimesh/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/trimesh/default.nix b/pkgs/development/python-modules/trimesh/default.nix
new file mode 100644
index 0000000000000..a65ea1e98ba5d
--- /dev/null
+++ b/pkgs/development/python-modules/trimesh/default.nix
@@ -0,0 +1,24 @@
+{ lib, buildPythonPackage, fetchPypi, numpy }:
+
+buildPythonPackage rec {
+  pname = "trimesh";
+  version = "3.6.36";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1m8dqqyzazrjk4d32cqn4d8gvbfcwgs2qbmgvpi2f2mi5vnp6d85";
+  };
+
+  propagatedBuildInputs = [ numpy ];
+
+  # tests are not included in pypi distributions and would require lots of
+  # optional dependencies
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Python library for loading and using triangular meshes.";
+    homepage = "https://trimsh.org/";
+    license = licenses.mit;
+    maintainers = with maintainers; [ gebner ];
+  };
+}