guix-commits
[Top][All Lists]
Advanced

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

01/07: gnu: Add soapysdr.


From: guix-commits
Subject: 01/07: gnu: Add soapysdr.
Date: Sat, 5 Jun 2021 18:26:58 -0400 (EDT)

glv pushed a commit to branch master
in repository guix.

commit 524c64152a8458915f42eb4a74b764eb2ab93966
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sat Jun 5 23:05:02 2021 +0200

    gnu: Add soapysdr.
    
    * gnu/packages/radio.scm (soapysdr): New variable.
---
 gnu/packages/radio.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 5fbddc1..a3cbe99 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -258,6 +258,35 @@ To install the airspyhf udev rules, you must extend 
@code{udev-service-type}
 with this package.  E.g.: @code{(udev-rules-service 'airspyhf airspyhf)}")
     (license license:bsd-3)))
 
+(define-public soapysdr
+  (package
+    (name "soapysdr")
+    (version "0.8.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pothosware/SoapySDR";)
+             (commit (string-append "soapy-sdr-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1dy25zxk7wmg7ik82dx7h3bbbynvalbz1dxsl7kgm3374yxhnixv"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("python" ,python)
+       ("swig" ,swig)))
+    (native-search-paths
+     (list (search-path-specification
+            (variable "SOAPY_SDR_PLUGIN_PATH")
+            (files (list (string-append "lib/SoapySDR/modules"
+                                        (version-major+minor version)))))))
+    (home-page "https://github.com/pothosware/SoapySDR/wiki";)
+    (synopsis "Vendor and platform neutral SDR support library")
+    (description
+     "SoapySDR is a library designed to support several kinds of software
+defined radio hardware devices with a common API.")
+    (license license:boost1.0)))
+
 (define-public chirp
   (package
     (name "chirp")



reply via email to

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