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 @@ Caller-ID.")
|
||||||
python-pyside-2
|
python-pyside-2
|
||||||
python-pyusb))
|
python-pyusb))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; Tests want to use a serial port
|
(list
|
||||||
#:phases
|
#:tests? #f ; Tests want to use a serial port
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'fix-permissions
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-after 'unpack 'fix-permissions
|
||||||
(make-file-writable "rflib/rflib_version.py")))
|
(lambda _
|
||||||
(add-after 'install 'install-udev-rules
|
(make-file-writable "rflib/rflib_version.py")))
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(add-after 'install 'install-udev-rules
|
||||||
(install-file "etc/udev/rules.d/20-rfcat.rules"
|
(lambda* _
|
||||||
(string-append (assoc-ref outputs "out")
|
(install-file "etc/udev/rules.d/20-rfcat.rules"
|
||||||
"/lib/udev/rules.d")))))))
|
(string-append #$output "/lib/udev/rules.d")))))))
|
||||||
(home-page "https://github.com/atlas0fd00m/rfcat")
|
(home-page "https://github.com/atlas0fd00m/rfcat")
|
||||||
(synopsis "Program to control some radio dongles")
|
(synopsis "Program to control some radio dongles")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue