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")
(description
"Command line utilities and a C library for controlling the HackRF
Software Defined Radio (SDR) over USB. Installing this package installs
the userspace hackrf utilities and C library. To install the hackrf
udev rules, you must add this package as a system service via
modify-services. E.g.:
@lisp
(services
(modify-services
%desktop-services
(udev-service-type config =>
(udev-configuration (inherit config)
(rules (cons hackrf
(udev-configuration-rules config)))))))
@end lisp")
Software Defined Radio (SDR) over USB. Installing this package installs the
userspace hackrf utilities and C library. To install the hackrf udev rules,
you must extend 'udev-service-type' with this package. E.g.:
@code{(udev-rules-service 'hackrf hackrf #:groups '(\"dialout\"))}.")
(license license:gpl2))))
(define-public hamlib