aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornomike <nomike@nomike.com>2025-05-14 02:16:47 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2025-05-16 15:47:10 +0200
commita59445e65d7812f586ae743b4a085258162a6995 (patch)
tree9523e6d795d39de8357a009b779cc54e6464fbc9
parent9b212acc38049a4768fe74ae066abf8e129cb0df (diff)
downloadguix-a59445e65d7812f586ae743b4a085258162a6995.tar.gz
guix-a59445e65d7812f586ae743b4a085258162a6995.zip
gnu: openscad: Fix python support.
* gnu/packages/engineering.scm (emacs-scad-mode)[inputs]: Add nettle. [arguments]: Add patch for CMake to fail build if nettle isn't found. Change-Id: Ic6bea14048daac56dc8773bf8fbdbd3bb1f0eae9 Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r--gnu/packages/engineering.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 2f1f87d47e..2e62230cc5 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -137,6 +137,7 @@
#:use-module (gnu packages multiprecision)
#:use-module (gnu packages mpi)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages nettle)
#:use-module (gnu packages networking)
#:use-module (gnu packages openkinect)
#:use-module (gnu packages parallel)
@@ -3236,6 +3237,9 @@ ontinuous-time and discret-time expressions.")
list(APPEND CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
find_package(EGL REQUIRED)
target_link_libraries(OpenSCAD PRIVATE EGL::EGL)")
+ ;; <https://github.com/openscad/openscad/issues/5897>
+ (("find_package\\(Nettle 3.4\\)")
+ "find_package(Nettle 3.4 REQUIRED)")
;; Use the system sanitizers-cmake module.
(("\\$\\{CMAKE_SOURCE_DIR\\}/submodules/sanitizers-cmake/cmake")
(string-append (assoc-ref inputs "sanitizers-cmake")
@@ -3263,6 +3267,7 @@ ontinuous-time and discret-time expressions.")
mesa ; or libglvnd if we had mesa-glvnd, too
mimalloc
mpfr
+ nettle
opencsg
python
python-numpy