From 32290b2c359b91e98a125f90d05396976169c239 Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Wed, 13 May 2020 10:46:03 +0200 Subject: [PATCH] gnu: hackrf: Simplify installation instructions. * gnu/packages/radio.scm (hackrf)[description]: Replace 'modify-services' snippet with 'udev-rules-service'. --- gnu/packages/radio.scm | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 1e50be1bcc..6a919548f0 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -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