[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu: Add bladerf.
From: |
guix-commits |
Subject: |
01/08: gnu: Add bladerf. |
Date: |
Tue, 3 Oct 2023 03:55:24 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit ee7296ff478fcb79c7d973bff19fa1fc1d78d44e
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sat Sep 30 11:17:40 2023 +0200
gnu: Add bladerf.
* gnu/packages/radio.scm (bladerf): New variable.
---
gnu/packages/radio.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 2e4e9db4cc..58e1895799 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -69,10 +69,12 @@
#:use-module (gnu packages image)
#:use-module (gnu packages image-processing)
#:use-module (gnu packages javascript)
+ #:use-module (gnu packages libedit)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages logging)
#:use-module (gnu packages lua)
+ #:use-module (gnu packages man)
#:use-module (gnu packages maths)
#:use-module (gnu packages mp3)
#:use-module (gnu packages multiprecision)
@@ -1416,6 +1418,43 @@ you must extend 'udev-service-type' with this package.
E.g.:
@code{(udev-rules-service 'hackrf hackrf #:groups '(\"dialout\"))}.")
(license license:gpl2)))
+(define-public bladerf
+ (package
+ (name "bladerf")
+ (version "2023.02")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Nuand/bladeRF")
+ (commit version)
+ (recursive? #t)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "038v9qdmrwx9mxsrq4l36bap0bsypyg4i8hs7l7srv4b0c2s7ynp"))))
+ (build-system cmake-build-system)
+ (native-inputs (list doxygen help2man pkg-config))
+ (inputs (list libedit libusb))
+ (arguments
+ (list #:configure-flags #~(list "-DTAGGED_RELEASE=ON"
+ (string-append "-DUDEV_RULES_PATH="
+ #$output
+ "/lib/udev/rules.d")
+ "-DBLADERF_GROUP=dialout"
+ "-DBUILD_DOCUMENTATION=ON")
+ #:tests? #f)) ; No test suite
+ (home-page "https://www.nuand.com/")
+ (synopsis "User-space library and utilities for BladeRF SDR")
+ (description
+ "This package contains a library and command line utilities for
+controlling the BladeRF Software Defined Radio (SDR) over USB. To install the
+bladerf udev rules, you must extend 'udev-service-type' with this package.
+E.g.: @code{(udev-rules-service 'bladerf bladerf)}.")
+ (license (list license:bsd-3
+ license:expat
+ license:gpl2+
+ license:lgpl2.1+))))
+
(define-public hamlib
(package
(name "hamlib")
- branch master updated (abf7a1e986 -> d69c557d64), guix-commits, 2023/10/03
- 03/08: gnu: gr-osmosdr: Add support for BladeRF and IQ balance correction., guix-commits, 2023/10/03
- 01/08: gnu: Add bladerf.,
guix-commits <=
- 02/08: gnu: Add soapybladerf., guix-commits, 2023/10/03
- 04/08: gnu: dump1090: Add support for BladeRF., guix-commits, 2023/10/03
- 07/08: gnu: urh: Add support for Airspy and BladeRF., guix-commits, 2023/10/03
- 08/08: gnu: satdump: Add support for BladeRF., guix-commits, 2023/10/03
- 05/08: gnu: sdrangel: Add support for BladeRF., guix-commits, 2023/10/03
- 06/08: gnu: sdr++: Add support for BladeRF., guix-commits, 2023/10/03