diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-07-02 12:06:22 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:42:33 +0200 |
commit | 3269096e46a38372b45c5245ed134e3833b0dfbb (patch) | |
tree | 60157cf9787a195ea3879a8a27de37be45989eb2 /gnu | |
parent | 632834696b668c04b5e49a9a97a98680c02f02df (diff) | |
download | guix-3269096e46a38372b45c5245ed134e3833b0dfbb.tar guix-3269096e46a38372b45c5245ed134e3833b0dfbb.tar.gz |
gnu: engineering: Add 'bash' input for 'wrap-program'.
It is required for cross-compilation.
* gnu/packages/engineering.scm
(librecad): Remove trailing #t.
[inputs]: Add 'bash-minimal'.
(volk, freehdl, freecad, solvespace, cura): Likewise.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Change-Id: I66ce8c602706ef0bf6a9c7bc60f51e34f0e823d5
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/engineering.scm | 53 |
1 files changed, 28 insertions, 25 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index a7d88daadd..5129305f67 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -206,7 +206,7 @@ (mkdir-p share) (copy-recursively "unix/resources" share))))))) (inputs - (list boost muparser freetype qtbase-5 qtsvg-5)) + (list bash-minimal boost muparser freetype qtbase-5 qtsvg-5)) (native-inputs (list pkg-config which)) (home-page "https://librecad.org/") @@ -1429,9 +1429,10 @@ WiFi signal strength maps. It visualizes them using a Voronoi diagram.") `("PATH" ":" prefix (,(string-append python "/bin:")))))))))) (inputs - `(("boost" ,boost) - ("python" ,python-wrapper) - ("python-mako" ,python-mako))) + (list bash-minimal ;for wrap-program + boost + python-wrapper + python-mako)) (home-page "https://www.libvolk.org/") (synopsis "Vector-Optimized Library of Kernels") (description @@ -2284,8 +2285,7 @@ parallel computing platforms. It also supports serial execution.") (lambda _ (substitute* "v2cc/gvhdl.in" (("--mode=link") "--mode=link --tag=CXX") - (("-lm") "-lm FREEHDL/lib/freehdl/libieee.la")) - #t)) + (("-lm") "-lm FREEHDL/lib/freehdl/libieee.la")))) (add-after 'patch-gvhdl 'patch-freehdl-gennodes (lambda* (#:key inputs #:allow-other-keys) (substitute* "freehdl/freehdl-gennodes.in" @@ -2293,8 +2293,7 @@ parallel computing platforms. It also supports serial execution.") (search-input-file inputs "/bin/guile")) (("\\(debug") ";(debug") (("\\(@ ") "(apply-emit") - (("\\(@@ ") "(apply-mini-format")) - #t)) + (("\\(@@ ") "(apply-mini-format")))) (add-after 'configure 'patch-freehdl-pc (lambda* (#:key inputs #:allow-other-keys) (substitute* "freehdl.pc" @@ -2303,8 +2302,7 @@ parallel computing platforms. It also supports serial execution.") "/bin/g++")) (("=libtool") (string-append "=" (assoc-ref inputs "libtool") - "/bin/libtool"))) - #t)) + "/bin/libtool"))))) (add-after 'install-scripts 'make-wrapper (lambda* (#:key inputs outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) @@ -2323,10 +2321,11 @@ parallel computing platforms. It also supports serial execution.") ,(string-append (assoc-ref inputs "coreutils") "/bin")))) (wrap-program (string-append out "/bin/freehdl-config") - `("PKG_CONFIG_PATH" ":" prefix (,(string-append out "/lib/pkgconfig"))))) - #t))))) + `("PKG_CONFIG_PATH" ":" prefix + (,(string-append out "/lib/pkgconfig")))))))))) (inputs - (list coreutils + (list bash-minimal + coreutils ;; Lazily resolve the gcc-toolchain to avoid a circular dependency. (module-ref (resolve-interface '(gnu packages commencement)) @@ -2943,7 +2942,8 @@ comments."))) python-pyside-2-tools swig)) (inputs - (list boost + (list bash-minimal + boost coin3d double-conversion eigen @@ -3511,16 +3511,18 @@ dynamic calibration of the milling depth.") `("GSETTINGS_SCHEMA_DIR" = (,(string-append (assoc-ref inputs "gtk+") "/share/glib-2.0/schemas"))))))))) - (inputs (list cairo - eigen - freetype - gtkmm-3 - json-c - libpng - libspnav ;spaceware - mimalloc - mesa - zlib)) + (inputs + (list bash-minimal + cairo + eigen + freetype + gtkmm-3 + json-c + libpng + libspnav ;spaceware + mimalloc + mesa + zlib)) (synopsis "Parametric 2D/3D @acronym{CAD, computer-aided design} software") (description @@ -4464,7 +4466,8 @@ python bindings. It belongs to the Cura project from Ultimaker.") python-pytest python-requests)) (inputs - (list cura-engine + (list bash-minimal + cura-engine libcharon libsavitar python |