mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: rfcat: Improve style.
* gnu/packages/radio.scm (rfcat)[arguments]: Use gexp.
This commit is contained in:
parent
c50e340707
commit
e7b2433484
1 changed files with 11 additions and 11 deletions
|
@ -2518,17 +2518,17 @@ (define-public rfcat
|
|||
python-pyside-2
|
||||
python-pyusb))
|
||||
(arguments
|
||||
`(#:tests? #f ; Tests want to use a serial port
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-permissions
|
||||
(lambda _
|
||||
(make-file-writable "rflib/rflib_version.py")))
|
||||
(add-after 'install 'install-udev-rules
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(install-file "etc/udev/rules.d/20-rfcat.rules"
|
||||
(string-append (assoc-ref outputs "out")
|
||||
"/lib/udev/rules.d")))))))
|
||||
(list
|
||||
#:tests? #f ; Tests want to use a serial port
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-permissions
|
||||
(lambda _
|
||||
(make-file-writable "rflib/rflib_version.py")))
|
||||
(add-after 'install 'install-udev-rules
|
||||
(lambda* _
|
||||
(install-file "etc/udev/rules.d/20-rfcat.rules"
|
||||
(string-append #$output "/lib/udev/rules.d")))))))
|
||||
(home-page "https://github.com/atlas0fd00m/rfcat")
|
||||
(synopsis "Program to control some radio dongles")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue