unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#75286] [PATCH] gnu: Add tetgen.
@ 2025-01-02 14:50 Lars Bilke
  0 siblings, 0 replies; only message in thread
From: Lars Bilke @ 2025-01-02 14:50 UTC (permalink / raw)
  To: 75286; +Cc: Lars Bilke, Andreas Enge, Eric Bavier, Sharlatan Hellseher

* gnu/packages/geo.scm (tetgen): New variable.

Change-Id: Iba2de71cf0a10ca5c7b65f9851d05fe63c944b30
---
 gnu/packages/geo.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 8b9b9a4cf7..ec48474708 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -3614,3 +3614,29 @@ (define-public laszip
 @code{LAZ} files.  The @code{LAS} format is a file format designed for the
 interchange and archiving of lidar point cloud data.")
     (license license:asl2.0)))
+
+    (define-public tetgen
+      (package
+        (name "tetgen")
+        (synopsis
+         "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator")
+        (license license:agpl3)
+        (description
+         "TetGen is a program to generate tetrahedral meshes of any 3D
+polyhedral domains.  TetGen generates exact constrained Delaunay
+tetrahedralizations, boundary conforming Delaunay meshes, and Voronoi
+partitions.")
+        (home-page "https://wias-berlin.de/software/tetgen/")
+        (version "1.5.1-2")
+        (source
+         (origin
+           (method git-fetch)
+           (uri (git-reference
+                 (url "https://github.com/ufz/tetgen")
+                 (commit version)))
+           (sha256
+            (base32 "0hd8mvmzybvlgvfx131p8782v8hggmg53vlkgazpsw9d6ympfcrv"))))
+        (build-system cmake-build-system)
+        (arguments
+         `(#:tests? #f
+           #:configure-flags (list "-DCMAKE_POSITION_INDEPENDENT_CODE=ON")))))

base-commit: ab43d883a0a88adbcfd3c3ab8d4c097cd9054b90
-- 
2.46.1





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-02 14:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-02 14:50 [bug#75286] [PATCH] gnu: Add tetgen Lars Bilke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).