mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: hackrf: Simplify installation instructions.
* gnu/packages/radio.scm (hackrf)[description]: Replace 'modify-services' snippet with 'udev-rules-service'.
This commit is contained in:
parent
aee7d000f8
commit
32290b2c35
1 changed files with 4 additions and 14 deletions
|
@ -741,20 +741,10 @@ (define-public hackrf
|
||||||
(synopsis "User-space library and utilities for HackRF SDR")
|
(synopsis "User-space library and utilities for HackRF SDR")
|
||||||
(description
|
(description
|
||||||
"Command line utilities and a C library for controlling the HackRF
|
"Command line utilities and a C library for controlling the HackRF
|
||||||
Software Defined Radio (SDR) over USB. Installing this package installs
|
Software Defined Radio (SDR) over USB. Installing this package installs the
|
||||||
the userspace hackrf utilities and C library. To install the hackrf
|
userspace hackrf utilities and C library. To install the hackrf udev rules,
|
||||||
udev rules, you must add this package as a system service via
|
you must extend 'udev-service-type' with this package. E.g.:
|
||||||
modify-services. E.g.:
|
@code{(udev-rules-service 'hackrf hackrf #:groups '(\"dialout\"))}.")
|
||||||
|
|
||||||
@lisp
|
|
||||||
(services
|
|
||||||
(modify-services
|
|
||||||
%desktop-services
|
|
||||||
(udev-service-type config =>
|
|
||||||
(udev-configuration (inherit config)
|
|
||||||
(rules (cons hackrf
|
|
||||||
(udev-configuration-rules config)))))))
|
|
||||||
@end lisp")
|
|
||||||
(license license:gpl2))))
|
(license license:gpl2))))
|
||||||
|
|
||||||
(define-public hamlib
|
(define-public hamlib
|
||||||
|
|
Loading…
Reference in a new issue