From 63962f9b6cb0358d091b9b97b66d348e865229e2 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Wed, 26 May 2021 10:29:22 +0200 Subject: gnu: Add minimodem. * gnu/packages/radio.scm (minimodem): New variable. --- gnu/packages/radio.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 6b2c3eb387..72f0618313 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1927,3 +1927,32 @@ spectrum waterfall. It supports at least the following models: @end itemize\n") (license (list license:expat license:gpl3))))) + +(define-public minimodem + (package + (name "minimodem") + (version "0.24") + (source + (origin + (method url-fetch) + (uri (string-append "http://www.whence.com/minimodem/minimodem-" + version ".tar.gz")) + (sha256 + (base32 "13ipyh39l7p420j1j9kvwyskv2nqnimls1a3z1klsa1zivds9k7q")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("alsa-lib" ,alsa-lib) + ("fftwf" ,fftwf) + ("libsndfile" ,libsndfile) + ("pulseaudio" ,pulseaudio))) + (home-page "http://www.whence.com/minimodem/") + (synopsis "Software audio FSK modem") + (description + "Minimodem is a command-line program which decodes (or generates) audio +modem tones at any specified baud rate, using various framing protocols. It +acts a general-purpose software FSK modem, and includes support for various +standard FSK protocols such as Bell103, Bell202, RTTY, TTY/TDD, NOAA SAME, and +Caller-ID.") + (license license:gpl3+))) -- cgit v1.2.3 From bd32bcca56ae4a27e754e43ace9bf28b0cae298e Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 28 May 2021 10:05:27 +0200 Subject: gnu: gnuradio: Add python-matplotlib dependency explicitly. * gnu/packages/radio.scm (gnuradio)[inputs]: Add python-matplotlib. --- gnu/packages/radio.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 72f0618313..c2886cd1ac 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -375,6 +375,7 @@ used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).") ("python-click" ,python-click) ("python-click-plugins" ,python-click-plugins) ("python-lxml" ,python-lxml) + ("python-matplotlib" ,python-matplotlib) ("python-numpy" ,python-numpy) ("python-pycairo" ,python-pycairo) ("python-pygobject" ,python-pygobject) -- cgit v1.2.3 From 5e0b11fbe8e60f1ba690b7c579c44814ab1ef92f Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 28 May 2021 11:15:21 +0200 Subject: gnu: hackrf: Update to 2021.03.1. * gnu/packages/radio.scm (hackrf): Update to 2021.03.1. --- gnu/packages/radio.scm | 87 ++++++++++++++++++++++++-------------------------- 1 file changed, 41 insertions(+), 46 deletions(-) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index c2886cd1ac..8f9e180723 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -799,61 +799,56 @@ for correctness.") (license license:gpl3+))) (define-public hackrf - ;; Using a git commit because there have been many many commits - ;; since the relase two years ago, but no sign of a promised - ;; release for many months now. - (let ((commit "43e6f99fe8543094d18ff3a6550ed2066c398862") - (revision "0")) - (package - (name "hackrf") - (version (git-version "2018.01.1" revision commit)) - (source - (origin + (package + (name "hackrf") + (version "2021.03.1") + (source + (origin (method git-fetch) (uri (git-reference (url "https://github.com/mossmann/hackrf") - (commit commit))) + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0avnv693xi0zsnrvkbfn0ln1r3s1iyj0bz7sc3gxay909av0pvbc")))) - (build-system cmake-build-system) - (arguments - '(#:configure-flags - (list "-DUDEV_RULES_GROUP=dialout" - (string-append "-DUDEV_RULES_PATH=" - (assoc-ref %outputs "out") - "/lib/udev/rules.d")) - #:phases - (modify-phases %standard-phases - (add-before 'configure 'enter-source-directory - (lambda _ - (chdir "host") - #t)) - (add-after 'install 'delete-static-library - (lambda* (#:key outputs #:allow-other-keys) - (delete-file (string-append (assoc-ref outputs "out") - "/lib/libhackrf.a")) - #t)) - (add-before 'install-license-files 'leave-source-directory - (lambda _ - (chdir "..") - #t))) - #:tests? #f)) ; no test suite - (native-inputs - `(("pkg-config" ,pkg-config))) - (inputs - `(("fftw" ,fftw) - ("fftwf" ,fftwf) - ("libusb" ,libusb))) - (home-page "https://greatscottgadgets.com/hackrf/") - (synopsis "User-space library and utilities for HackRF SDR") - (description - "Command line utilities and a C library for controlling the HackRF + (base32 "12fkgimjy5ia291c1rn4y59pn9r5wdvz5x9z5xc8zr1xr96iyhfs")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags + (list "-DUDEV_RULES_GROUP=dialout" + (string-append "-DUDEV_RULES_PATH=" + (assoc-ref %outputs "out") + "/lib/udev/rules.d")) + #:phases + (modify-phases %standard-phases + (add-before 'configure 'enter-source-directory + (lambda _ + (chdir "host") + #t)) + (add-after 'install 'delete-static-library + (lambda* (#:key outputs #:allow-other-keys) + (delete-file (string-append (assoc-ref outputs "out") + "/lib/libhackrf.a")) + #t)) + (add-before 'install-license-files 'leave-source-directory + (lambda _ + (chdir "..") + #t))) + #:tests? #f)) ; no test suite + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("fftw" ,fftw) + ("fftwf" ,fftwf) + ("libusb" ,libusb))) + (home-page "https://greatscottgadgets.com/hackrf/") + (synopsis "User-space library and utilities for HackRF SDR") + (description + "Command line utilities and a C library for controlling the HackRF Software Defined Radio (SDR) over USB. Installing this package installs the userspace hackrf utilities and C library. To install the hackrf udev rules, you must extend 'udev-service-type' with this package. E.g.: @code{(udev-rules-service 'hackrf hackrf #:groups '(\"dialout\"))}.") - (license license:gpl2)))) + (license license:gpl2))) (define-public hamlib (package -- cgit v1.2.3 From 7aa9785aa6959ede719ec56a982d54b819bcf83d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 29 May 2021 18:22:24 +0200 Subject: gnu: welle-io: Update to 2.3. * gnu/packages/radio.scm (welle-io): Update to 2.3. --- gnu/packages/radio.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 8f9e180723..23a26d6a5e 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1539,7 +1539,7 @@ receiver.") (define-public welle-io (package (name "welle-io") - (version "2.2") + (version "2.3") (source (origin (method git-fetch) @@ -1548,7 +1548,7 @@ receiver.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "04fpm6sc431dl9i5h53xpd6k85j22sv8aawl7b6wv2fzpfsd9fwa")))) + (base32 "1xl1lanw0xgmgks67dbfb2h52jxnrd1i2zik56v0q8dwsr7f0daw")))) (build-system qt-build-system) (native-inputs `(("pkg-config" ,pkg-config))) -- cgit v1.2.3 From 95f104b161c870a4e868e6ffba538188318f7091 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 29 May 2021 18:23:31 +0200 Subject: gnu: hamlib: Update to 4.2. * gnu/packages/radio.scm (hamlib): Update to 4.2. --- gnu/packages/radio.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 23a26d6a5e..1145c12c87 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -853,7 +853,7 @@ you must extend 'udev-service-type' with this package. E.g.: (define-public hamlib (package (name "hamlib") - (version "4.1") + (version "4.2") (source (origin (method url-fetch) @@ -861,7 +861,7 @@ you must extend 'udev-service-type' with this package. E.g.: "https://github.com/Hamlib/Hamlib/releases/download/" version "/hamlib-" version ".tar.gz")) (sha256 - (base32 "0hi3nc1k55mxff05amdv5iwryaz6r3205l24q0bg7l84f53bkm5l")))) + (base32 "1m8gb20i8ga6ndnnw187ry1h4z8wx27v1hl7c610r6ky60pv4072")))) (build-system gnu-build-system) (native-inputs `(("doxygen" ,doxygen) -- cgit v1.2.3 From 9703a51048fbc1d322595d676ff0d63b1eb89304 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Thu, 3 Jun 2021 18:17:07 +0200 Subject: gnu: Add rfcat. * gnu/packages/radio.scm (rfcat): New variable. --- gnu/packages/radio.scm | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 1145c12c87..c0b1ed13e0 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1952,3 +1952,59 @@ acts a general-purpose software FSK modem, and includes support for various standard FSK protocols such as Bell103, Bell202, RTTY, TTY/TDD, NOAA SAME, and Caller-ID.") (license license:gpl3+))) + +(define-public rfcat + ;; Use a commit for now because some fixes to make rfcat work with + ;; Python 3 instead of Python 2 are not in a release yet. + (let ((commit "725bf79af27d47cdec64107317c1c8fe3f7ad7b8") + (revision "1")) + (package + (name "rfcat") + (version (git-version "1.9.5" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/atlas0fd00m/rfcat") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0dbc6n4pxsa73wzxny773khc73r1dn3ma5hi7xv76vcykjvzkdi3")))) + (build-system python-build-system) + (inputs + `(("python-future" ,python-future) + ("python-ipython" ,python-ipython) + ("python-numpy" ,python-numpy) + ("python-pyserial" ,python-pyserial) + ("python-pyside-2" ,python-pyside-2) + ("python-pyusb" ,python-pyusb))) + (arguments + `(#:tests? #f ; Tests want to use a serial port + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-permissions + (lambda _ + (make-file-writable "rflib/rflib_version.py"))) + (add-after 'install 'install-udev-rules + (lambda* (#:key outputs #:allow-other-keys) + (install-file "etc/udev/rules.d/20-rfcat.rules" + (string-append (assoc-ref outputs "out") + "/lib/udev/rules.d"))))))) + (home-page "https://github.com/atlas0fd00m/rfcat") + (synopsis "Program to control some radio dongles") + (description + "@code{rfcat} is a program to control some radio dongles operating in +ISM bands. + +Supported dongles: +@itemize +@item YARD Stick One +@item cc1111emk +@item chronos watch dongle +@item imme (limited support) +@end itemize + +To install the rfcat udev rules, you must extend @code{udev-service-type} with +this package. E.g.: @code{(udev-rules-service 'rfcat rfcat)}") + (license (list license:bsd-3 + license:gpl2))))) -- cgit v1.2.3 From 1ea00cceefa4a2e3832423bb80180256531ff589 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 4 Jun 2021 13:49:01 +0200 Subject: gnu: wfview: Update to 1.0. * gnu/packages/radio.scm (wfview): Update to 1.0. --- gnu/packages/radio.scm | 111 ++++++++++++++++++++++++------------------------- 1 file changed, 54 insertions(+), 57 deletions(-) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index c0b1ed13e0..6a9d2db084 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1856,61 +1856,58 @@ software-defined radio receivers.") (license license:gpl3+))) (define-public wfview - ;; No tagged release, use commit directly. - (let ((commit "274e905d214a7360e8cf2dd0421dbe3712a0ddcc") - (revision "1")) - (package - (name "wfview") - (version (git-version "20210511" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://gitlab.com/eliggett/wfview") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1dmxn15xs63wx1y4mh1mlv8qc1xz32vgbyl3rk82gf6knw518svp")))) - (build-system qt-build-system) - (inputs - `(("qcustomplot" ,qcustomplot) - ("qtbase" ,qtbase) - ("qtmultimedia" ,qtmultimedia) - ("qtserialport" ,qtserialport))) - (arguments - `(#:tests? #f ; No test suite. - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-paths - (lambda* (#:key outputs #:allow-other-keys) - (substitute* "wfview.pro" - (("\\.\\./wfview/") - "../")) - (substitute* '("wfmain.cpp") - (("/usr/share") - (string-append (assoc-ref outputs "out") "/share"))))) - (replace 'configure - (lambda _ - (mkdir-p "build") - (chdir "build") - (invoke "qmake" "../wfview.pro"))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out"))) - (install-file "wfview" - (string-append out "/bin")) - (install-file "wfview.png" - (string-append out "/share/pixmaps")) - (install-file "wfview.desktop" - (string-append out "/share/applications")) - (let ((dir (string-append - out "/share/wfview/stylesheets/qdarkstyle"))) - (mkdir-p dir) - (copy-recursively "qdarkstyle" dir)))))))) - (home-page "https://wfview.org/") - (synopsis "Software to control Icom radios") - (description - "@code{wfview} is a program to control modern Icom radios and view the + (package + (name "wfview") + (version "1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/eliggett/wfview") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "16a9afm0nkqx4pzwfxisspybimhqdyr3yjpr7ac7wgpp3520ikzi")))) + (build-system qt-build-system) + (inputs + `(("qcustomplot" ,qcustomplot) + ("qtbase" ,qtbase) + ("qtmultimedia" ,qtmultimedia) + ("qtserialport" ,qtserialport))) + (arguments + `(#:tests? #f ; No test suite. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "wfview.pro" + (("\\.\\./wfview/") + "../")) + (substitute* '("wfmain.cpp") + (("/usr/share") + (string-append (assoc-ref outputs "out") "/share"))))) + (replace 'configure + (lambda _ + (mkdir-p "build") + (chdir "build") + (invoke "qmake" "../wfview.pro"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (install-file "wfview" + (string-append out "/bin")) + (install-file "wfview.png" + (string-append out "/share/pixmaps")) + (install-file "wfview.desktop" + (string-append out "/share/applications")) + (let ((dir (string-append + out "/share/wfview/stylesheets/qdarkstyle"))) + (mkdir-p dir) + (copy-recursively "qdarkstyle" dir)))))))) + (home-page "https://wfview.org/") + (synopsis "Software to control Icom radios") + (description + "@code{wfview} is a program to control modern Icom radios and view the spectrum waterfall. It supports at least the following models: @itemize @@ -1921,8 +1918,8 @@ spectrum waterfall. It supports at least the following models: @item IC-7851 @item IC-9700 @end itemize\n") - (license (list license:expat - license:gpl3))))) + (license (list license:expat + license:gpl3)))) (define-public minimodem (package -- cgit v1.2.3 From 232bdb900de520333fb776b40ac2bf8933d7f293 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 5 Jun 2021 09:23:30 +0200 Subject: gnu: gnuradio: Use patched texlive-amsfonts. * gnu/packages/radio.scm (gnuradio)[native-inputs]: Use texlive-amsfonts/patched. --- gnu/packages/radio.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 6a9d2db084..cafc6428ba 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -350,7 +350,7 @@ used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).") ("python-pyzmq" ,python-pyzmq) ("python-scipy" ,python-scipy) ("python-sphinx" ,python-sphinx) - ("texlive" ,(texlive-union (list texlive-amsfonts + ("texlive" ,(texlive-union (list texlive-amsfonts/patched texlive-latex-amsmath ;; TODO: Add newunicodechar. texlive-latex-graphics))) -- cgit v1.2.3 From af8a5285d2295fff342338dbc3a6157e25a4326a Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 5 Jun 2021 09:23:55 +0200 Subject: gnu: libosmo-dsp: Use patched texlive-amsfonts. * gnu/packages/radio.scm (libosmo-dsp)[native-inputs]: Use texlive-amsfonts/patched. --- gnu/packages/radio.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index cafc6428ba..c511fd7e8c 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -553,7 +553,7 @@ to access different radio hardware.") ("doxygen" ,doxygen) ("libtool" ,libtool) ("pkg-config" ,pkg-config) - ("texlive" ,(texlive-union (list texlive-amsfonts + ("texlive" ,(texlive-union (list texlive-amsfonts/patched texlive-latex-amsmath ;; TODO: Add newunicodechar. texlive-latex-graphics))))) -- cgit v1.2.3 From ba9cbb66126df73363ac3a3ccc8e2843f1753168 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Jun 2021 11:23:10 +0200 Subject: gnu: Add libfec. * gnu/packages/radio.scm (libfec): New variable. --- gnu/packages/radio.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index c511fd7e8c..dd3771d786 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -94,6 +94,34 @@ #:use-module (guix build-system python) #:use-module (guix build-system qt)) +(define-public libfec + ;; Use commit to get compilation fixes that are not in a release yet. + (let ((commit "9750ca0a6d0a786b506e44692776b541f90daa91") + (revision "1")) + (package + (name "libfec") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/quiet/libfec") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0i6jhrdswr1wglyb9h39idpz5v9z13yhidvlbj34vxpyngrkhlvs")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags '("-DBUILD_SHARED_LIBS=ON") + #:test-target "test_all")) + (home-page "https://github.com/quiet/libfec") + (synopsis "Forward error correction algorithms library") + (description + "This package provides a set of functions that implement several popular +@dfn{forward error correction} (FEC) algorithms and several low-level routines +useful in modems implemented with @dfn{digital signal processing} (DSP).") + (license license:lgpl2.1)))) + (define-public liquid-dsp (package (name "liquid-dsp") -- cgit v1.2.3 From 573f777495eee94c62bd5f80dd71f2a787d63018 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Jun 2021 11:38:09 +0200 Subject: gnu: liquid-dsp: Add support for more error correction codes. * gnu/packages/radio.scm (liquid-dsp)[inputs]: Add libfec. --- gnu/packages/radio.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index dd3771d786..2b13c062d7 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -139,7 +139,8 @@ useful in modems implemented with @dfn{digital signal processing} (DSP).") `(("autoconf" ,autoconf))) (inputs `(("fftw" ,fftw) - ("fftwf" ,fftwf))) + ("fftwf" ,fftwf) + ("libfec" ,libfec))) (home-page "https://liquidsdr.org") (synopsis "Signal processing library for software-defined radios") (description -- cgit v1.2.3 From 3a8d0eff9ef4037b0234fc2508039ab48af8d633 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Jun 2021 11:43:00 +0200 Subject: gnu: liquid-dsp: Remove static library. * gnu/packages/radio.scm (liquid-dsp)[arguments]: Add 'delete-static-library' phase. --- gnu/packages/radio.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 2b13c062d7..6d2ab5ff1c 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -141,6 +141,13 @@ useful in modems implemented with @dfn{digital signal processing} (DSP).") `(("fftw" ,fftw) ("fftwf" ,fftwf) ("libfec" ,libfec))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'delete-static-library + (lambda* (#:key outputs #:allow-other-keys) + (delete-file (string-append (assoc-ref outputs "out") + "/lib/libliquid.a"))))))) (home-page "https://liquidsdr.org") (synopsis "Signal processing library for software-defined radios") (description -- cgit v1.2.3 From f9a7a365ed5af80f0645779d3352555271ea1c8f Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Jun 2021 11:45:47 +0200 Subject: gnu: liquid-dsp: Remove unused input. * gnu/packages/radio.scm (liquid-dsp)[inputs]: Remove fftw. --- gnu/packages/radio.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 6d2ab5ff1c..5fbddc102b 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -138,8 +138,7 @@ useful in modems implemented with @dfn{digital signal processing} (DSP).") (native-inputs `(("autoconf" ,autoconf))) (inputs - `(("fftw" ,fftw) - ("fftwf" ,fftwf) + `(("fftwf" ,fftwf) ("libfec" ,libfec))) (arguments `(#:phases -- cgit v1.2.3 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/radio.scm') 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 From 59ce8276182891919baad2c306c1d632fff3e7e6 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Jun 2021 23:14:31 +0200 Subject: gnu: Add soapyhackrf. * gnu/packages/radio.scm (soapyhackrf): New variable. --- gnu/packages/radio.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index a3cbe99380..18545bae79 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") -- cgit v1.2.3 From ee586c9437b59093603804e88410f1365c12d3b7 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Jun 2021 23:19:04 +0200 Subject: gnu: Add soapyrtlsdr. * gnu/packages/radio.scm (soapyrtlsdr): New variable. --- gnu/packages/radio.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 18545bae79..0bc335df95 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -312,6 +312,31 @@ defined radio hardware devices with a common API.") "This package provides HackRF devices support to the SoapySDR library.") (license license:expat))) +(define-public soapyrtlsdr + (package + (name "soapyrtlsdr") + (version "0.3.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pothosware/SoapyRTLSDR") + (commit (string-append "soapy-rtl-sdr-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1dlnryj6k20pk7w7v4v13y099r7ikhvlzbgzgphmi5cxkdv0shrd")))) + (build-system cmake-build-system) + (inputs + `(("rtl-sdr" ,rtl-sdr) + ("soapysdr" ,soapysdr))) + (arguments + `(#:tests? #f)) ; No test suite + (home-page "https://github.com/pothosware/SoapyRTLSDR/wiki") + (synopsis "SoapySDR RTL-SDR module") + (description + "This package provides RTL-SDR devices support to the SoapySDR library.") + (license license:expat))) + (define-public chirp (package (name "chirp") -- cgit v1.2.3 From 0855fd3de526c4b8e5c3fd523ee51279be8d391b Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Jun 2021 23:25:22 +0200 Subject: gnu: Add soapyairspyhf. * gnu/packages/radio.scm (soapyairspyhf): New variable. --- gnu/packages/radio.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 0bc335df95..60c0a2eee8 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 soapyairspyhf + (package + (name "soapyairspyhf") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pothosware/SoapyAirspyHF") + (commit (string-append "soapy-airspyhf-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "04krqinglgkjvx7klqik6yn8rb4mlpwzb6zvnmvm7szqci2agggz")))) + (build-system cmake-build-system) + (inputs + `(("airspyhf" ,airspyhf) + ("soapysdr" ,soapysdr))) + (arguments + `(#:tests? #f)) ; No test suite + (home-page "https://github.com/pothosware/SoapyAirspyHF/wiki") + (synopsis "SoapySDR Airspy HF+ module") + (description "This package provides Airspy HF+ devices support to the +SoapySDR library.") + (license license:expat))) + (define-public soapyhackrf (package (name "soapyhackrf") -- cgit v1.2.3 From 7a5d3976a2f4755f409e74eb1ddc92c32985ac9f Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Jun 2021 23:36:22 +0200 Subject: gnu: welle-io: Add SoapySDR support. * gnu/packages/radio.scm (welle-io)[inputs]: Add soapysdr. [arguments]: Update 'configure-flags'. --- gnu/packages/radio.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 60c0a2eee8..1d7f9aa139 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1704,9 +1704,11 @@ receiver.") ("qtdeclarative" ,qtdeclarative) ("qtgraphicaleffects" ,qtgraphicaleffects) ("qtmultimedia" ,qtmultimedia) - ("qtquickcontrols2" ,qtquickcontrols2))) + ("qtquickcontrols2" ,qtquickcontrols2) + ("soapysdr" ,soapysdr))) (arguments - `(#:configure-flags '("-DRTLSDR=ON") + `(#:configure-flags '("-DRTLSDR=ON" + "-DSOAPYSDR=ON") #:tests? #f)) (home-page "https://www.welle.io/") (synopsis "DAB and DAB+ software radio") -- cgit v1.2.3 From 60cd50af435093f0bd01b8eccf6a3ac80ebde4fa Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Jun 2021 23:46:28 +0200 Subject: gnu: rtl-433: Add SoapySDR support. * gnu/packages/radio.scm (rtl-433)[inputs]: Add soapysdr. --- gnu/packages/radio.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 1d7f9aa139..67b03e9d96 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1297,7 +1297,8 @@ their position, altitude, speed, etc.") (inputs `(("libusb" ,libusb) ("openssl" ,openssl) - ("rtl-sdr" ,rtl-sdr))) + ("rtl-sdr" ,rtl-sdr) + ("soapysdr" ,soapysdr))) (synopsis "Decoder for radio transmissions in ISM bands") (description "This is a generic data receiver, mainly for decoding radio transmissions -- cgit v1.2.3 From 9caf7112ee50af26fbc4c1bd3c337f1f86b710af Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sun, 6 Jun 2021 00:14:21 +0200 Subject: gnu: gr-osmosdr: Add SoapySDR support. * gnu/packages/radio.scm (gr-osmosdr)[inputs]: Add soapysdr. --- gnu/packages/radio.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 67b03e9d96..a7e9de3707 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -653,6 +653,7 @@ environment.") ("python-numpy" ,python-numpy) ("python-pyqt" ,python-pyqt) ("rtl-sdr" ,rtl-sdr) + ("soapysdr" ,soapysdr) ("volk" ,volk))) (arguments `(#:modules ((guix build cmake-build-system) -- cgit v1.2.3 From da28abcfb04d9a4911264d2921512b0ad5acf8e6 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sun, 6 Jun 2021 09:43:59 +0200 Subject: gnu: sdrangel: Add SoapySDR support. * gnu/packages/radio.scm (sdrangel)[inputs]: Add soapysdr. [arguments]: Update 'configure-flags'. --- gnu/packages/radio.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/radio.scm') diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index a7e9de3707..b3a6aceaff 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -1947,6 +1947,7 @@ voice formats.") ("qtwebsockets" ,qtwebsockets) ("rtl-sdr" ,rtl-sdr) ("serialdv" ,serialdv) + ("soapysdr" ,soapysdr) ("sgp4" ,sgp4) ("zlib" ,zlib))) (arguments @@ -1963,7 +1964,9 @@ voice formats.") (string-append "-DSERIALDV_DIR=" (assoc-ref %build-inputs "serialdv")) (string-append "-DSGP4_DIR=" - (assoc-ref %build-inputs "sgp4"))))) + (assoc-ref %build-inputs "sgp4")) + (string-append "-DSOAPYSDR_DIR=" + (assoc-ref %build-inputs "soapysdr"))))) (home-page "https://github.com/f4exb/sdrangel/wiki") (synopsis "Software defined radio") (description -- cgit v1.2.3