gnu: Add gr-satellites.

* gnu/packages/radio.scm (gr-satellites): New variable.
This commit is contained in:
Guillaume Le Vaillant 2021-07-13 16:15:38 +02:00
parent 5fa078ccfd
commit 4196087f3d
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -75,6 +75,7 @@ (define-module (gnu packages radio)
#:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages qt)
#:use-module (gnu packages readline)
@ -778,6 +779,59 @@ (define-public gr-iqbal
(license license:gpl3+))))
(deprecated-package "gnuradio-iqbalance" gr-iqbal)
(define-public gr-satellites
(package
(name "gr-satellites")
(version "4.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/daniestevez/gr-satellites")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "01p9cnwjxas3pkqr9m5fnrgm45cji0sfdqqa51hzy7izx9vgzaf8"))))
(build-system cmake-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)
("pybind11" ,pybind11)
("python-six" ,python-six)))
(inputs
`(("boost" ,boost)
("gmp" ,gmp)
("gnuradio" ,gnuradio)
("log4cpp" ,log4cpp)
("python" ,python)
("python-construct" ,python-construct)
("python-numpy" ,python-numpy)
("python-pyaml" ,python-pyaml)
("python-pyzmq" ,python-pyzmq)
("python-requests" ,python-requests)
("volk" ,volk)))
(arguments
`(#:modules ((guix build cmake-build-system)
((guix build python-build-system) #:prefix python:)
(guix build utils))
#:imported-modules (,@%cmake-build-system-modules
(guix build python-build-system))
#:phases
(modify-phases %standard-phases
(add-before 'check 'set-test-environment
(lambda _
(setenv "HOME" "/tmp")))
(add-after 'install 'wrap-python
(assoc-ref python:%standard-phases 'wrap)))))
(synopsis "GNU Radio decoders for several Amateur satellites")
(description
"@code{gr-satellites} is a GNU Radio out-of-tree module encompassing
a collection of telemetry decoders that supports many different Amateur
satellites.")
(home-page "https://github.com/daniestevez/gr-satellites")
(license (list license:asl2.0
license:gpl3+
license:lgpl2.1))))
(define-public gqrx
(package
(name "gqrx")