guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: gnuradio-osmosdr: Fix Python tools.


From: guix-commits
Subject: branch master updated: gnu: gnuradio-osmosdr: Fix Python tools.
Date: Fri, 14 May 2021 10:54:40 -0400

This is an automated email from the git hooks/post-receive script.

glv pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 9bb89b6  gnu: gnuradio-osmosdr: Fix Python tools.
9bb89b6 is described below

commit 9bb89b640ac37a1fdee927f7c3376eb6f0746cb5
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Fri May 14 16:23:55 2021 +0200

    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(-)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index c089865..f25c097 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.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]