diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-01-28 10:36:29 +0100 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:50 +0100 |
| commit | cff243ab74a8aa51a156b118706dfee98045eab0 (patch) | |
| tree | 7346b7bcfcca4677f4f565e95c09086d5266fc0d /gnu | |
| parent | 8bf1f103324ac4ff3a692092398ee03b3f2e707e (diff) | |
gnu: gr-osmosdr: Relocate and reindent arguments.
* gnu/packages/radio.scm (gr-osmosdr)[arguments]: Relocate field, and
reindent it.
Change-Id: I9e37371995bf7d38e27603cf79ab3de3b4e4eb12
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/radio.scm | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index c8d8e720807..937a32fe6b1 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1092,6 +1092,25 @@ environment.") (sha256 (base32 "1qpa908bb7iagvaa7h541k1x092mb6dfrmw5ayy4p51qks45nj3p")))) (build-system cmake-build-system) + (arguments + (list + #:tests? #f + #:modules '((guix build cmake-build-system) + ((guix build python-build-system) #:prefix python:) + (guix build utils)) + #:imported-modules `(,@%cmake-build-system-modules + (guix build python-build-system)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-gnuradio-iqbalance-detection + (lambda _ + (substitute* "CMakeLists.txt" + (("find_package\\(gnuradio-iqbalance PATHS \\$\\{Gnuradio_DIR\\}\\)") + (string-append "find_package(gnuradio-iqbalance PATHS " + #$(this-package-input "gr-iqbal") + "/lib/cmake/gnuradio)"))))) + (add-after 'install 'wrap-python + (assoc-ref python:%standard-phases 'wrap))))) (native-inputs (list doxygen pkg-config pybind11 python-mako python-six)) (inputs @@ -1113,24 +1132,6 @@ environment.") soapysdr spdlog volk)) - (arguments - (list #:tests? #f - #:modules '((guix build cmake-build-system) - ((guix build python-build-system) #:prefix python:) - (guix build utils)) - #:imported-modules `(,@%cmake-build-system-modules - (guix build python-build-system)) - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'fix-gnuradio-iqbalance-detection - (lambda _ - (substitute* "CMakeLists.txt" - (("find_package\\(gnuradio-iqbalance PATHS \\$\\{Gnuradio_DIR\\}\\)") - (string-append "find_package(gnuradio-iqbalance PATHS " - #$(this-package-input "gr-iqbal") - "/lib/cmake/gnuradio)"))))) - (add-after 'install 'wrap-python - (assoc-ref python:%standard-phases 'wrap))))) (synopsis "GNU Radio block for interfacing with various radio hardware") (description "This is a block for GNU Radio allowing to use a common API to access different radio hardware.") |
