mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: rtl-sdr: Update to 0.6.0.1-5e73f90.
* gnu/packages/radio.scm (rtl-sdr): Update to 0.6.0.1-5e73f90.
This commit is contained in:
parent
c0ca63b4da
commit
bcc13ee8a1
1 changed files with 37 additions and 36 deletions
|
@ -171,41 +171,42 @@ (define-public liquid-dsp
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rtl-sdr
|
(define-public rtl-sdr
|
||||||
(package
|
;; No tagged release since 2018
|
||||||
(name "rtl-sdr")
|
(let ((commit "5e73f90f1d85d8db2e583f3dbf1cff052d71d59b")
|
||||||
(version "0.6.0")
|
(revision "1"))
|
||||||
(source
|
(package
|
||||||
(origin
|
(name "rtl-sdr")
|
||||||
(method git-fetch)
|
(version (git-version "0.6.0" revision commit))
|
||||||
(uri (git-reference
|
(source
|
||||||
(url "https://git.osmocom.org/rtl-sdr/")
|
(origin
|
||||||
(commit version)))
|
(method git-fetch)
|
||||||
(file-name (git-file-name name version))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://git.osmocom.org/rtl-sdr/")
|
||||||
(base32
|
(commit commit)))
|
||||||
"0lmvsnb4xw4hmz6zs0z5ilsah5hjz29g1s0050n59fllskqr3b8k"))))
|
(file-name (git-file-name name version))
|
||||||
(build-system cmake-build-system)
|
(sha256
|
||||||
(inputs
|
(base32 "106fwzyr7cba952f3p3wm3hdqzm9zvm0v3gcz4aks2n7fnvrgrvn"))))
|
||||||
(list libusb))
|
(build-system cmake-build-system)
|
||||||
(native-inputs
|
(inputs
|
||||||
(list pkg-config))
|
(list libusb))
|
||||||
(arguments
|
(native-inputs
|
||||||
`(#:configure-flags '("-DDETACH_KERNEL_DRIVER=ON"
|
(list pkg-config))
|
||||||
"-DINSTALL_UDEV_RULES=ON")
|
(arguments
|
||||||
#:tests? #f ; No tests
|
`(#:configure-flags '("-DDETACH_KERNEL_DRIVER=ON"
|
||||||
#:phases
|
"-DINSTALL_UDEV_RULES=ON")
|
||||||
(modify-phases %standard-phases
|
#:tests? #f ; No tests
|
||||||
(add-after 'unpack 'fix-paths
|
#:phases
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(modify-phases %standard-phases
|
||||||
(substitute* "CMakeLists.txt"
|
(add-after 'unpack 'fix-paths
|
||||||
(("DESTINATION \"/etc/udev/")
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(string-append "DESTINATION \""
|
(substitute* "CMakeLists.txt"
|
||||||
(assoc-ref outputs "out")
|
(("DESTINATION \"/etc/udev/")
|
||||||
"/lib/udev/")))
|
(string-append "DESTINATION \""
|
||||||
#t)))))
|
(assoc-ref outputs "out")
|
||||||
(home-page "https://osmocom.org/projects/sdr/wiki/rtl-sdr")
|
"/lib/udev/"))))))))
|
||||||
(synopsis "Software defined radio driver for Realtek RTL2832U")
|
(home-page "https://osmocom.org/projects/sdr/wiki/rtl-sdr")
|
||||||
(description "DVB-T dongles based on the Realtek RTL2832U can be used as a
|
(synopsis "Software defined radio driver for Realtek RTL2832U")
|
||||||
|
(description "DVB-T dongles based on the Realtek RTL2832U can be used as a
|
||||||
cheap software defined radio, since the chip allows transferring the raw I/Q
|
cheap software defined radio, since the chip allows transferring the raw I/Q
|
||||||
samples to the host. @code{rtl-sdr} provides drivers for this purpose.
|
samples to the host. @code{rtl-sdr} provides drivers for this purpose.
|
||||||
|
|
||||||
|
@ -220,7 +221,7 @@ (define-public rtl-sdr
|
||||||
|
|
||||||
To install the rtl-sdr udev rules, you must extend 'udev-service-type' with
|
To install the rtl-sdr udev rules, you must extend 'udev-service-type' with
|
||||||
this package. E.g.: @code{(udev-rules-service 'rtl-sdr rtl-sdr)}")
|
this package. E.g.: @code{(udev-rules-service 'rtl-sdr rtl-sdr)}")
|
||||||
(license license:gpl2+)))
|
(license license:gpl2+))))
|
||||||
|
|
||||||
(define-public airspyhf
|
(define-public airspyhf
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue