mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
9b212acc38
commit
a59445e65d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue