gnu: hackrf: Simplify installation instructions.

* gnu/packages/radio.scm (hackrf)[description]: Replace
'modify-services' snippet with 'udev-rules-service'.
This commit is contained in:
Brice Waegeneire 2020-05-13 10:46:03 +02:00
parent aee7d000f8
commit 32290b2c35
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -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