mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add gnuradio-osmosdr.
* gnu/packages/ham-radio.scm (gnuradio-osmosdr): New variable.
This commit is contained in:
parent
d042caf6b7
commit
aa862c2c87
1 changed files with 38 additions and 1 deletions
|
@ -58,7 +58,8 @@ (define-module (gnu packages ham-radio)
|
|||
#:use-module (gnu packages xorg)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system python))
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (guix build-system qt))
|
||||
|
||||
(define-public rtl-sdr
|
||||
(package
|
||||
|
@ -300,3 +301,39 @@ (define-public gnuradio
|
|||
environment.")
|
||||
(home-page "https://www.gnuradio.org")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public gnuradio-osmosdr
|
||||
(package
|
||||
(name "gnuradio-osmosdr")
|
||||
(version "0.2.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://git.osmocom.org/gr-osmosdr")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1rdx7fa0xiq0qmgrrbby7z1bblmqhl9qh9jqpsznzxkx91f17ypd"))))
|
||||
(build-system cmake-build-system)
|
||||
(native-inputs
|
||||
`(("doxygen" ,doxygen)
|
||||
("git" ,git-minimal)
|
||||
("pkg-config" ,pkg-config)
|
||||
("python" ,python)
|
||||
("python-mako" ,python-mako)
|
||||
("python-six" ,python-six)
|
||||
("swig" ,swig)))
|
||||
(inputs
|
||||
`(("boost" ,boost)
|
||||
("fftwf" ,fftwf)
|
||||
("gmp" ,gmp)
|
||||
("gnuradio" ,gnuradio)
|
||||
("log4cpp" ,log4cpp)
|
||||
;; TODO: Add more drivers.
|
||||
("rtl-sdr" ,rtl-sdr)))
|
||||
(synopsis "GNU Radio block for interfacing with various radio hardware")
|
||||
(description "This is a block for GNU Radio allowing to use a common API
|
||||
to access different radio hardware.")
|
||||
(home-page "https://osmocom.org/projects/gr-osmosdr/wiki/GrOsmoSDR")
|
||||
(license license:gpl3+)))
|
||||
|
|
Loading…
Reference in a new issue