diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2023-09-30 11:17:40 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2023-10-03 09:50:32 +0200 |
commit | ee7296ff478fcb79c7d973bff19fa1fc1d78d44e (patch) | |
tree | c18a1df20f8d3213657c0bdc6ede3276bfc08368 /gnu/packages/radio.scm | |
parent | abf7a1e986f93f8fade230ae6f95b04cc998041b (diff) |
gnu: Add bladerf.
* gnu/packages/radio.scm (bladerf): New variable.
Diffstat (limited to 'gnu/packages/radio.scm')
-rw-r--r-- | gnu/packages/radio.scm | 39 |
1 files changed, 39 insertions, 0 deletions
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") |