* [bug#44045] [PATCH 02/10] gnu: Add cura-engine.
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
@ 2020-10-17 10:35 ` Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 03/10] gnu: Add cura-binary-data Malte Frank Gerdes
` (7 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: Malte Frank Gerdes @ 2020-10-17 10:35 UTC (permalink / raw)
To: 44045; +Cc: Malte Frank Gerdes
* gnu/packages/engineering.scm (cura-engine): New variable.
---
gnu/packages/engineering.scm | 46 ++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 5c5db6a17e..c06b9aebf9 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -107,6 +107,7 @@
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages readline)
+ #:use-module (gnu packages stb)
#:use-module (gnu packages swig)
#:use-module (gnu packages tbb)
#:use-module (gnu packages tcl)
@@ -2872,3 +2873,48 @@ messages based on the Protocol Buffers library. It is designed to
facilitate the communication between Cura and its backend and similar code.")
(license license:lgpl3))))
+(define-public cura-engine
+ (package
+ (name "cura-engine")
+ (version "4.7.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Ultimaker/CuraEngine")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "177fk6j4gn3ssi8j1qxj8p4486f7jkz328vc75agxnh7vhd4mwsm"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("googletest" ,googletest)))
+ (inputs
+ `(("protobuf" ,protobuf)
+ ("libArcus" ,libArcus)
+ ("stb-image" ,stb-image)))
+ (arguments
+ `(#:configure-flags '("-DBUILD_TESTS=ON")
+ #:phases (modify-phases %standard-phases
+ (add-before 'configure 'patch-source
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "../source/cmake/FindStb.cmake"
+ (("/usr/include")
+ (string-append (assoc-ref inputs "stb-image")
+ "/include"))
+ (("stb/stb_image_resize.h")
+ "stb_image.h"))
+ (substitute*
+ "../source/src/infill/ImageBasedDensityProvider.cpp"
+ (("stb/stb_image.h")
+ "stb_image.h"))
+ #true)))))
+ (home-page "https://github.com/Ultimaker/CuraEngine")
+ (synopsis "Cura slicing engine")
+ (description "CuraEngine is a powerful, fast and robust engine for
+processing 3D models into 3D printing instruction for Ultimaker and other
+GCode based 3D printers. It is part of the larger open source project called
+Cura.")
+ (license license:agpl3)))
+
--
2.28.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44045] [PATCH 03/10] gnu: Add cura-binary-data.
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 02/10] gnu: Add cura-engine Malte Frank Gerdes
@ 2020-10-17 10:35 ` Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 04/10] gnu: Add uranium Malte Frank Gerdes
` (6 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: Malte Frank Gerdes @ 2020-10-17 10:35 UTC (permalink / raw)
To: 44045; +Cc: Malte Frank Gerdes
* gnu/packages/engineering.scm (cura-binary-data): New variable.
---
gnu/packages/engineering.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index c06b9aebf9..e36abe0dbd 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2918,3 +2918,26 @@ GCode based 3D printers. It is part of the larger open source project called
Cura.")
(license license:agpl3)))
+(define-public cura-binary-data
+ (package
+ (name "cura-binary-data")
+ (version "4.7.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Ultimaker/cura-binary-data")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "17gsfv32dynx70g4bbrcxf3jn9bzplbfpfb4f4gvhrd4p3cn6q6k"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #false
+ #:configure-flags '("-DENABLE_FIRMWARE_INSTALL=OFF")))
+ (home-page "https://github.com/Ultimaker/cura-binary-data")
+ (synopsis "Binary data for Cura, like compiled translations.")
+ (description "Contains binary data for Cura releases, like compiled
+translations. Prebuilt Firmware files are removed.")
+ (license license:agpl3)))
+
--
2.28.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44045] [PATCH 04/10] gnu: Add uranium.
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 02/10] gnu: Add cura-engine Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 03/10] gnu: Add cura-binary-data Malte Frank Gerdes
@ 2020-10-17 10:35 ` Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 05/10] gnu: Add libCharon Malte Frank Gerdes
` (5 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: Malte Frank Gerdes @ 2020-10-17 10:35 UTC (permalink / raw)
To: 44045; +Cc: Malte Frank Gerdes
* gnu/packages/engineering.scm (uranium): New variable.
---
gnu/packages/engineering.scm | 68 ++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index e36abe0dbd..1b4cb391b3 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -104,6 +104,10 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-check)
+ #:use-module (gnu packages python-crypto)
+ #:use-module (gnu packages python-science)
+ #:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages readline)
@@ -2941,3 +2945,67 @@ Cura.")
translations. Prebuilt Firmware files are removed.")
(license license:agpl3)))
+(define-public uranium
+ (package
+ (name "uranium")
+ (version "4.7.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Ultimaker/Uranium")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1h5d3scy3cnbyhh0pbavflpqklhn2lbp7hl193rc5gx8yzr3mqbh"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("pytest" ,python-pytest)
+ ("mypy" ,python-mypy)
+ ("certifi" ,python-certifi)
+ ("twisted" ,python-twisted)
+ ("doxygen" ,doxygen)
+ ("graphviz" ,graphviz)
+ ("gettext" ,gettext-minimal)))
+ (propagated-inputs
+ `(("cura-binary-data" ,cura-binary-data)
+ ("qtbase" ,qtbase)
+ ("qtdeclarative" ,qtdeclarative)
+ ("qtcontrols2" ,qtquickcontrols2)
+ ("qtcontrols" ,qtquickcontrols)
+ ("qtgraphicaleffects" ,qtgraphicaleffects)
+ ("pyQt5" ,python-pyqt)
+ ("numpy" ,python-numpy)
+ ("arcus" ,libArcus)
+ ("shapely" ,python-shapely)
+ ("scipy" ,python-scipy)
+ ("python" ,python)
+ ("cryptography" ,python-cryptography)
+ ;; ("trimesh" ,python-trimesh)
+ ))
+ (arguments
+ `(#:tests? #false ;; tests are disabled, because they cause an infinite loop
+ #:configure-flags
+ `(,(string-append "-DGETTEXT_MSGINIT_EXECUTABLE="
+ (assoc-ref %build-inputs "gettext") "/bin/msginit")
+ ,(string-append "-DCURA_BINARY_DATA_DIRECTORY="
+ (assoc-ref %build-inputs "cura-binary-data")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'fix-uranium-plugin-path
+ (lambda* (#:key outputs #:allow-other-keys)
+ (substitute* "UM/Application.py"
+ (("app_root =.*$")
+ (string-append "app_root = \""
+ (assoc-ref outputs "out") "\"\n"))
+ (("app_root, \"share\", \"uranium\", \"plugins\"")
+ "app_root, \"lib\", \"uranium\", \"plugins\""))
+ #true)))))
+ (home-page "https://github.com/Ultimaker/Uranium")
+ (synopsis "Python Framework for building Desktop applications")
+ (description "Uranium is a Python Framework for building 3D Printing
+related Desktop Applications using PyQt5. It belongs to the Cura project
+from Ultimaker.")
+ (license license:lgpl3)))
+
--
2.28.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44045] [PATCH 05/10] gnu: Add libCharon.
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
` (2 preceding siblings ...)
2020-10-17 10:35 ` [bug#44045] [PATCH 04/10] gnu: Add uranium Malte Frank Gerdes
@ 2020-10-17 10:35 ` Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 06/10] gnu: Add libSavitar Malte Frank Gerdes
` (4 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: Malte Frank Gerdes @ 2020-10-17 10:35 UTC (permalink / raw)
To: 44045; +Cc: Malte Frank Gerdes
* gnu/packages/engineering.scm (libCharon): New variable.
---
gnu/packages/engineering.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 1b4cb391b3..27d4eae948 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3009,3 +3009,27 @@ related Desktop Applications using PyQt5. It belongs to the Cura project
from Ultimaker.")
(license license:lgpl3)))
+(define-public libCharon
+ (package
+ (name "libCharon")
+ (version "4.7.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Ultimaker/libCharon")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1hcjbn29rlvy4xcscnnnyck91fg9cvnc73x50g1ir3y3l1gplc2k"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("pytest" ,python-pytest)))
+ (inputs
+ `(("python" ,python)))
+ (home-page "https://github.com/Ultimaker/libCharon")
+ (synopsis "File metadata and streaming library")
+ (description "libCharon is a python file metadata and streaming library. It
+belongs to the Cura project from Ultimaker.")
+ (license license:lgpl3)))
+
--
2.28.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44045] [PATCH 06/10] gnu: Add libSavitar.
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
` (3 preceding siblings ...)
2020-10-17 10:35 ` [bug#44045] [PATCH 05/10] gnu: Add libCharon Malte Frank Gerdes
@ 2020-10-17 10:35 ` Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 07/10] gnu: Add cura Malte Frank Gerdes
` (3 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: Malte Frank Gerdes @ 2020-10-17 10:35 UTC (permalink / raw)
To: 44045; +Cc: Malte Frank Gerdes
* gnu/packages/engineering.scm (libSavitar): New variable.
---
gnu/packages/engineering.scm | 42 ++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 27d4eae948..a65cbb81e8 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3033,3 +3033,45 @@ from Ultimaker.")
belongs to the Cura project from Ultimaker.")
(license license:lgpl3)))
+(define-public libSavitar
+ (let ((commit "85abbec0d947e6646b5172b6716c49c17e241632")
+ (revision "0"))
+ (package
+ (name "libSavitar")
+ (version (string-append "4.7.1-" revision "."
+ (string-take commit 7)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Ultimaker/libSavitar")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32 "1i895d5r7c32z61m88xjkqs9j72bwmxllshs4y2rwgzxpq3rk1k5"))))
+ (build-system cmake-build-system)
+ (inputs
+ `(("python" ,python)
+ ("sip" ,python-sip)))
+ (arguments
+ `(#:tests? #false ;; this library doesn't have tests
+ #:phases (modify-phases %standard-phases
+ (add-before 'configure 'fix-python-sitearch
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((path (string-append (assoc-ref outputs "out")
+ "/lib/python"
+ ,(version-major+minor
+ (package-version python))
+ "/site-packages")))
+ (substitute* "cmake/FindSIP.cmake"
+ (("\\$\\{_process_output\\} Python3_SITEARCH")
+ (string-append path " Python3_SITEARCH"))
+ (("\\$\\{_process_output\\} Python3_SITELIB")
+ (string-append path " Python3_SITELIB"))))
+ #true)))))
+ (home-page "https://github.com/Ultimaker/libSavitar")
+ (synopsis "C++ implementation of 3mf loading with SIP python bindings")
+ (description "libSavitar is a C++ implementation of 3mf loading with SIP
+python bindings. It belongs to the Cura project from Ultimaker.")
+ (license license:lgpl3))))
+
--
2.28.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44045] [PATCH 07/10] gnu: Add cura.
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
` (4 preceding siblings ...)
2020-10-17 10:35 ` [bug#44045] [PATCH 06/10] gnu: Add libSavitar Malte Frank Gerdes
@ 2020-10-17 10:35 ` Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 08/10] gnu: Add python-pyinstrument-cext Malte Frank Gerdes
` (2 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: Malte Frank Gerdes @ 2020-10-17 10:35 UTC (permalink / raw)
To: 44045; +Cc: Malte Frank Gerdes
* gnu/packages/engineering.scm (cura): New variable.
---
gnu/packages/engineering.scm | 43 ++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index a65cbb81e8..2a7dfe470f 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3075,3 +3075,46 @@ belongs to the Cura project from Ultimaker.")
python bindings. It belongs to the Cura project from Ultimaker.")
(license license:lgpl3))))
+(define-public cura
+ (package
+ (name "cura")
+ (version "4.7.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Ultimaker/Cura")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19an168iad3cb5w8i71c0wbr79qnz5qnpxqx1j6dgh64qz6ffn2r"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("mypy" ,python-mypy)
+ ("pytest" ,python-pytest)
+ ("certifi" ,python-certifi)
+ ("requests" ,python-requests)))
+ (inputs
+ `(("uranium" ,uranium)
+ ("cura-engine" ,cura-engine)
+ ("serial" ,python-pyserial)
+ ("savitar" ,libSavitar)
+ ("charon" ,libCharon)
+ ("sip" ,python-sip)))
+ (arguments
+ `(#:tests? #false
+ #:configure-flags '("-DURANIUM_SCRIPTS_DIR=")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'link-to-CuraEngine
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (symlink (string-append (assoc-ref inputs "cura-engine")
+ "/bin/CuraEngine")
+ (string-append (assoc-ref outputs "out")
+ "/bin/CuraEngine"))
+ #true)))))
+ (home-page "https://github.com/Ultimaker/Cura")
+ (synopsis "Cura Slicer")
+ (description "Cura is a slicing software from Ultimaker. A @emph{Slicer}
+generates G-Code for 3D printers.")
+ (license license:lgpl3)))
--
2.28.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44045] [PATCH 08/10] gnu: Add python-pyinstrument-cext.
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
` (5 preceding siblings ...)
2020-10-17 10:35 ` [bug#44045] [PATCH 07/10] gnu: Add cura Malte Frank Gerdes
@ 2020-10-17 10:35 ` Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 09/10] gnu: Add python-pyinstrument Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 10/10] gnu: Add python-trimesh Malte Frank Gerdes
8 siblings, 0 replies; 17+ messages in thread
From: Malte Frank Gerdes @ 2020-10-17 10:35 UTC (permalink / raw)
To: 44045; +Cc: Malte Frank Gerdes
* gnu/packages/python-check.scm (python-pyinstrument-cext): New variable.
---
gnu/packages/python-check.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 498f495584..6d068a9cd8 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Tanguy Le Carrour <tanguy@bioneland.org>
+;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -82,6 +83,22 @@ This package provides seamless integration with coverage.py (and thus pytest,
nosetests, etc...) in Python projects.")
(license license:expat)))
+(define-public python-pyinstrument-cext
+ (package
+ (name "python-pyinstrument-cext")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyinstrument-cext" version))
+ (sha256
+ (base32 "0nycf7nhx2xzba49m8208agx5xghzxkma3iim5f43h3l3pvjb7pj"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/joerick/pyinstrument_cext")
+ (synopsis "A CPython extension supporting pyinstrument")
+ (description "A CPython extension supporting pyinstrument")
+ (license license:bsd-3)))
+
(define-public python-vcrpy
(package
(name "python-vcrpy")
--
2.28.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44045] [PATCH 09/10] gnu: Add python-pyinstrument.
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
` (6 preceding siblings ...)
2020-10-17 10:35 ` [bug#44045] [PATCH 08/10] gnu: Add python-pyinstrument-cext Malte Frank Gerdes
@ 2020-10-17 10:35 ` Malte Frank Gerdes
2020-10-17 10:35 ` [bug#44045] [PATCH 10/10] gnu: Add python-trimesh Malte Frank Gerdes
8 siblings, 0 replies; 17+ messages in thread
From: Malte Frank Gerdes @ 2020-10-17 10:35 UTC (permalink / raw)
To: 44045; +Cc: Malte Frank Gerdes
* gnu/packages/python-check.scm (python-pyinstrument)@ New variable.
---
gnu/packages/python-check.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 6d068a9cd8..4fcc382913 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -99,6 +99,28 @@ nosetests, etc...) in Python projects.")
(description "A CPython extension supporting pyinstrument")
(license license:bsd-3)))
+(define-public python-pyinstrument
+ (package
+ (name "python-pyinstrument")
+ (version "3.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pyinstrument" version))
+ (sha256
+ (base32
+ "0r8n2ajhjx9mlsy7hsvf6ihw1lk4zn1l95vd1c3g0jc3m1pfz3yf"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-pyinstrument-cext" ,python-pyinstrument-cext)))
+ (home-page
+ "https://github.com/joerick/pyinstrument")
+ (synopsis
+ "Call stack profiler for Python. Shows you why your code is slow!")
+ (description
+ "Call stack profiler for Python. Shows you why your code is slow!")
+ (license license:bsd-3)))
+
(define-public python-vcrpy
(package
(name "python-vcrpy")
--
2.28.0
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [bug#44045] [PATCH 10/10] gnu: Add python-trimesh.
2020-10-17 10:35 ` [bug#44045] [PATCH 01/10] gnu: Add libArcus Malte Frank Gerdes
` (7 preceding siblings ...)
2020-10-17 10:35 ` [bug#44045] [PATCH 09/10] gnu: Add python-pyinstrument Malte Frank Gerdes
@ 2020-10-17 10:35 ` Malte Frank Gerdes
8 siblings, 0 replies; 17+ messages in thread
From: Malte Frank Gerdes @ 2020-10-17 10:35 UTC (permalink / raw)
To: 44045; +Cc: Malte Frank Gerdes
* gnu/packages/python-science.scm (python-trimesh): New variable.
---
gnu/packages/python-science.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 101c8fb640..1d5835bff5 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -10,6 +10,7 @@
;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2020 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,6 +36,7 @@
#:use-module (gnu packages maths)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-check)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages sphinx)
@@ -285,6 +287,33 @@ logic, also known as grey logic.")
of the SGP4 satellite tracking algorithm.")
(license license:expat)))
+(define-public python-trimesh
+ (package
+ (name "python-trimesh")
+ (version "3.8.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "trimesh" version))
+ (sha256
+ (base32
+ "0sf0wms2zhyljhiqjmyp77kx7b123gmr98hmna0y2ic7idzhzyr4"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-numpy" ,python-numpy)
+ ("python-setuptools" ,python-setuptools)))
+ (native-inputs
+ `(("python-coveralls" ,python-coveralls)
+ ("python-pyinstrument" ,python-pyinstrument)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)))
+ (home-page "https://github.com/mikedh/trimesh")
+ (synopsis
+ "Import, export, process, analyze and view triangular meshes.")
+ (description
+ "Import, export, process, analyze and view triangular meshes.")
+ (license license:expat)))
+
(define-public python-pandas
(package
(name "python-pandas")
--
2.28.0
^ permalink raw reply related [flat|nested] 17+ messages in thread