diff options
author | Lars Bilke <[email protected]> | 2025-02-06 16:10:39 +0100 |
---|---|---|
committer | Andreas Enge <[email protected]> | 2025-02-06 16:27:17 +0100 |
commit | a62ee289a59ff67c46dc79d96b8e79c975f71482 (patch) | |
tree | befbb68242e4970e950995810567441e3865d578 /gnu/packages/geo.scm | |
parent | b8165760d17d362c569d8670c7c115c9bed1245c (diff) |
gnu: Add tetgen.
* gnu/packages/geo.scm (tetgen): New variable.
Change-Id: I1b736fc65ce7cbfcf9dd71a07926a0cc54a344df
Co-authored-by: Andreas Enge <[email protected]>
Signed-off-by: Andreas Enge <[email protected]>
Diffstat (limited to 'gnu/packages/geo.scm')
-rw-r--r-- | gnu/packages/geo.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 368ea01ca1..e885001b83 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -26,6 +26,7 @@ ;;; Copyright © 2024 Jonathan Brielmaier <[email protected]> ;;; Copyright © 2025 Mattia Bunel <[email protected]> ;;; Copyright © 2025 Andreas Enge <[email protected]> +;;; Copyright © 2025 Lars Bilke <[email protected]> ;;; ;;; This file is part of GNU Guix. ;;; @@ -3687,6 +3688,41 @@ Grosser Reiseplaner, Routeplaner Europa 2007, Map + Route.") interchange and archiving of lidar point cloud data.") (license license:asl2.0))) +(define-public tetgen + (package + (name "tetgen") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri + "https://wias-berlin.de/software/tetgen/1.5/src/tetgen1.6.0.tar.gz") + (sha256 + (base32 "0fff0l6i3xfjlm0zkcgyyhwndp8i5d615mydyb21yirsplgfddc7")))) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f ;; no test suite + #:configure-flags #~(list "-DCMAKE_POSITION_INDEPENDENT_CODE=ON") + #:phases + #~(modify-phases %standard-phases + (replace 'install ;; no install target + (lambda _ + (install-file "tetgen" + (string-append #$output "/bin")))) + ;; Do not create etc/ld.so.cache. It is a bit mysterious why + ;; we have this phase in the first place. + (delete 'make-dynamic-linker-cache)))) + (home-page "https://wias-berlin.de/software/tetgen/") + (synopsis + "Quality Tetrahedral Mesh Generator and 3D Delaunay Triangulator") + (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.") + (license license:agpl3+))) + (define-public libe57format (package (name "libe57format") |