guix_mirror_bot pushed a commit to branch python-team
in repository guix.
commit 826ef55f227948c20a58a2621f9777e1c9501e13
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jan 28 10:36:29 2026 +0100
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 <[email protected]>
---
gnu/packages/radio.scm | 37 +++++++++++++++++++------------------
1 file changed, 19 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index c8d8e72080..937a32fe6b 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.")