From 9bb89b640ac37a1fdee927f7c3376eb6f0746cb5 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 14 May 2021 16:23:55 +0200 Subject: gnu: gnuradio-osmosdr: Fix Python tools. * gnu/packages/radio.scm (gnuradio-osmosdr)[native-inputs]: Move python to ... [inputs]: ... here. Add python-numpy and python-pyqt. [arguments]: Add Python wrapping phase. --- gnu/packages/radio.scm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index c0898657a5..f25c097bbc 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -497,7 +497,6 @@ environment.") `(("doxygen" ,doxygen) ("pkg-config" ,pkg-config) ("pybind11" ,pybind11) - ("python" ,python) ("python-mako" ,python-mako) ("python-six" ,python-six))) (inputs @@ -509,8 +508,21 @@ environment.") ("hackrf" ,hackrf) ("libsndfile" ,libsndfile) ("log4cpp" ,log4cpp) + ("python" ,python) + ("python-numpy" ,python-numpy) + ("python-pyqt" ,python-pyqt) ("rtl-sdr" ,rtl-sdr) ("volk" ,volk))) + (arguments + `(#: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 '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.") -- cgit v1.2.3