guix-patches
[Top][All Lists]
Advanced

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

[bug#31259] [PATCH] Add gnuradio


From: Charlie Ritter
Subject: [bug#31259] [PATCH] Add gnuradio
Date: Wed, 25 Apr 2018 06:35:47 -0400

From 20242ed16e29c90cfbbbd0e6d735e9f94187a77d Mon Sep 17 00:00:00 2001
From: Charlie Ritter <address@hidden>
Date: Wed, 25 Apr 2018 06:34:13 -0400
Subject: [PATCH] gnu: Add gnuradio.

* gnu/packages/ham-radio.scm (gnuradio): New variable.
---
 gnu/packages/ham-radio.scm | 45 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/ham-radio.scm b/gnu/packages/ham-radio.scm
index 0f96553c6..db38951e4 100644
--- a/gnu/packages/ham-radio.scm
+++ b/gnu/packages/ham-radio.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2017 Arun Isaac <address@hidden>
+;;; Copyright © 2018 Charlie Ritter <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -20,10 +21,54 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (gnu packages algebra)
+  #:use-module (gnu packages boost)
+  #:use-module (gnu packages gtk)
   #:use-module (gnu packages libusb)
+  #:use-module (gnu packages maths)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages swig)
   #:use-module (guix build-system cmake))
 
+(define-public gnuradio
+  (package
+    (name "gnuradio")
+    (version "3.7.9.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://gnuradio.org/releases/gnuradio/gnuradio-";
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1fpvfslfffgvpszzmlzkjgm93cm16fqanbgllykm5qjas1201d10"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("boost" ,boost)
+       ("fftw" ,fftw)
+       ("gsl" ,gsl)
+       ("qt" ,qt-4)
+       ("qwt" ,qwt)))
+    (propagated-inputs
+     `(("python" ,python-2)
+       ("python2-pygtk" ,python2-pygtk)
+       ("python2-pyqt" ,python2-pyqt)
+       ("python2-lxml" ,python2-lxml)
+       ("python2-cheetah" ,python2-cheetah)
+       ("python2-numpy" ,python2-numpy)
+       ("swig" ,swig)))
+    (home-page "https://gnuradio.org/";)
+    (synopsis "GNU Radio is a free and open-source toolkit for software radio")
+    (description "GNU Radio is a free & open-source software development
+toolkit that provides signal processing blocks to implement software radios.
+It can be used with readily-available low-cost external RF hardware to create
+software-defined radios, or without hardware in a simulation-like environment.
+It is widely used in hobbyist, academic and commercial environments to support
+both wireless communications research and real-world radio systems.")
+    (license license:gpl3+)))
+
 (define-public rtl-sdr
   (package
     (name "rtl-sdr")
-- 
2.17.0

Attachment: signature.asc
Description: PGP signature


reply via email to

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