me
/
guix
Archived
1
0
Fork 0

gnu: Add bladerf.

* gnu/packages/radio.scm (bladerf): New variable.
master
Guillaume Le Vaillant 2023-09-30 11:17:40 +02:00
parent abf7a1e986
commit ee7296ff47
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 39 additions and 0 deletions

View File

@ -69,10 +69,12 @@
#:use-module (gnu packages image) #:use-module (gnu packages image)
#:use-module (gnu packages image-processing) #:use-module (gnu packages image-processing)
#:use-module (gnu packages javascript) #:use-module (gnu packages javascript)
#:use-module (gnu packages libedit)
#:use-module (gnu packages libusb) #:use-module (gnu packages libusb)
#:use-module (gnu packages linux) #:use-module (gnu packages linux)
#:use-module (gnu packages logging) #:use-module (gnu packages logging)
#:use-module (gnu packages lua) #:use-module (gnu packages lua)
#:use-module (gnu packages man)
#:use-module (gnu packages maths) #:use-module (gnu packages maths)
#:use-module (gnu packages mp3) #:use-module (gnu packages mp3)
#:use-module (gnu packages multiprecision) #: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\"))}.") @code{(udev-rules-service 'hackrf hackrf #:groups '(\"dialout\"))}.")
(license license:gpl2))) (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 (define-public hamlib
(package (package
(name "hamlib") (name "hamlib")