From 524c64152a8458915f42eb4a74b764eb2ab93966 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Jun 2021 23:05:02 +0200 Subject: gnu: Add soapysdr. * gnu/packages/radio.scm (soapysdr): New variable. --- gnu/packages/radio.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 5fbddc102b..a3cbe99380 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") -- cgit v1.2.3