[bug#78668,3/4] gnu: manifold: Update to 3.0.1-0.7c8fbe1

Message ID 20250602021230.3231771-3-nomike@nomike.com
State New
Headers
Series Update openscad to 2024.06.01 and improve package |

Commit Message

nomike June 2, 2025, 2:12 a.m. UTC
  * gnu/packages/engineering.scm (manifold): Update to commit 7c8fbe. OpenSCAD is currently the only dependant on this package and some tests will fail with version 3.0.1 of manifold whereas some other tests will fail with the most recent version 3.1.1. The OpenSCAD project currently uses that commit of manifold itself.

Change-Id: If7ddc903b8b6d78b6cc5c35031cbb2a840b961c2
---
 gnu/packages/engineering.scm | 47 +++++++++++++++++++-----------------
 1 file changed, 25 insertions(+), 22 deletions(-)
  

Patch

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 8b1332e186..d9be7a50c4 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2924,32 +2924,35 @@  (define-public lib3mf
     (license license:bsd-2)))
 
 (define-public manifold
-  (package
-    (name "manifold")
-    (version "3.0.1")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/elalish/manifold")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "1f0k8937gk7b9100k99pmz1f17nzczpdk7797p2aijla0z29ddy1"))))
-    (build-system cmake-build-system)
-    (inputs (list tbb clipper2 assimp python-nanobind googletest))
-    (arguments
-     ;; can be removed when emscripten is packaged
-     `(#:configure-flags '("-DMANIFOLD_JSBIND=OFF")))
-    (synopsis "Geometry library for topological robustness")
-    (description
-     "Manifold is a geometry library dedicated to creating and operating on
+  (let ((commit "7c8fbe186aa1ac5eb73f12c28bdef093ee4d11c9")
+        (version "3.0.1")
+        (revision "0"))
+    (package
+      (name "manifold")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/elalish/manifold")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1vipfy68crvik3760jjmsqnyci6rabb26iiw22p2qpb3cj6r683l"))))
+      (build-system cmake-build-system)
+      (inputs (list tbb clipper2 assimp python-nanobind googletest))
+      (arguments
+       ;; can be removed once emscripten is packaged
+       `(#:configure-flags '("-DMANIFOLD_JSBIND=OFF")))
+      (synopsis "Geometry library for topological robustness")
+      (description
+       "Manifold is a geometry library dedicated to creating and operating on
 manifold triangle meshes.  A manifold mesh is a mesh that represents a solid
 object, and so is very important in manufacturing, CAD, structural analysis,
 etc..  Manifold also supports arbitrary vertex properties and enables mapping
 of materials for rendering use-cases.")
-    (home-page "https://github.com/elalish/manifold")
-    (license license:asl2.0)))
+      (home-page "https://github.com/elalish/manifold")
+      (license license:asl2.0))))
 
 (define-public python-keithley2600
   (package