guix-commits
[Top][All Lists]
Advanced

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

02/07: gnu: Add soapyhackrf.


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

glv pushed a commit to branch master
in repository guix.

commit 59ce8276182891919baad2c306c1d632fff3e7e6
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sat Jun 5 23:14:31 2021 +0200

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

diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index a3cbe99..18545ba 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -287,6 +287,31 @@ with this package.  E.g.: @code{(udev-rules-service 
'airspyhf airspyhf)}")
 defined radio hardware devices with a common API.")
     (license license:boost1.0)))
 
+(define-public soapyhackrf
+  (package
+    (name "soapyhackrf")
+    (version "0.3.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pothosware/SoapyHackRF";)
+             (commit (string-append "soapy-hackrf-" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1awn89z462500gb3fjb7x61b1znkjri9n1d39bqfip1qk4s11pxc"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("hackrf" ,hackrf)
+       ("soapysdr" ,soapysdr)))
+    (arguments
+     `(#:tests? #f))  ; No test suite
+    (home-page "https://github.com/pothosware/SoapyHackRF/wiki";)
+    (synopsis "SoapySDR HackRF module")
+    (description
+     "This package provides HackRF devices support to the SoapySDR library.")
+    (license license:expat)))
+
 (define-public chirp
   (package
     (name "chirp")



reply via email to

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