gnu: rfcat: Update to 1.9.6.
* gnu/packages/radio.scm (rfcat): Update to 1.9.6.
This commit is contained in:
parent
d06afc330b
commit
c50e340707
1 changed files with 38 additions and 42 deletions
|
@ -2497,46 +2497,42 @@ Caller-ID.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public rfcat
|
(define-public rfcat
|
||||||
;; Use a commit for now because some fixes to make rfcat work with
|
(package
|
||||||
;; Python 3 instead of Python 2 are not in a release yet.
|
(name "rfcat")
|
||||||
(let ((commit "725bf79af27d47cdec64107317c1c8fe3f7ad7b8")
|
(version "1.9.6")
|
||||||
(revision "1"))
|
(source
|
||||||
(package
|
(origin
|
||||||
(name "rfcat")
|
(method git-fetch)
|
||||||
(version (git-version "1.9.5" revision commit))
|
(uri (git-reference
|
||||||
(source
|
(url "https://github.com/atlas0fd00m/rfcat")
|
||||||
(origin
|
(commit (string-append "v" version))))
|
||||||
(method git-fetch)
|
(file-name (git-file-name name version))
|
||||||
(uri (git-reference
|
(sha256
|
||||||
(url "https://github.com/atlas0fd00m/rfcat")
|
(base32 "0zmgbgf1025ln2v6lc27dmkmwv8pxjgrmhmpk34rkkixhvnk69pf"))))
|
||||||
(commit commit)))
|
(build-system python-build-system)
|
||||||
(file-name (git-file-name name version))
|
(inputs
|
||||||
(sha256
|
(list python-future
|
||||||
(base32 "0dbc6n4pxsa73wzxny773khc73r1dn3ma5hi7xv76vcykjvzkdi3"))))
|
python-ipython
|
||||||
(build-system python-build-system)
|
python-numpy
|
||||||
(inputs
|
python-pyserial
|
||||||
(list python-future
|
python-pyside-2
|
||||||
python-ipython
|
python-pyusb))
|
||||||
python-numpy
|
(arguments
|
||||||
python-pyserial
|
`(#:tests? #f ; Tests want to use a serial port
|
||||||
python-pyside-2
|
#:phases
|
||||||
python-pyusb))
|
(modify-phases %standard-phases
|
||||||
(arguments
|
(add-after 'unpack 'fix-permissions
|
||||||
`(#:tests? #f ; Tests want to use a serial port
|
(lambda _
|
||||||
#:phases
|
(make-file-writable "rflib/rflib_version.py")))
|
||||||
(modify-phases %standard-phases
|
(add-after 'install 'install-udev-rules
|
||||||
(add-after 'unpack 'fix-permissions
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(lambda _
|
(install-file "etc/udev/rules.d/20-rfcat.rules"
|
||||||
(make-file-writable "rflib/rflib_version.py")))
|
(string-append (assoc-ref outputs "out")
|
||||||
(add-after 'install 'install-udev-rules
|
"/lib/udev/rules.d")))))))
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(home-page "https://github.com/atlas0fd00m/rfcat")
|
||||||
(install-file "etc/udev/rules.d/20-rfcat.rules"
|
(synopsis "Program to control some radio dongles")
|
||||||
(string-append (assoc-ref outputs "out")
|
(description
|
||||||
"/lib/udev/rules.d")))))))
|
"@code{rfcat} is a program to control some radio dongles operating in
|
||||||
(home-page "https://github.com/atlas0fd00m/rfcat")
|
|
||||||
(synopsis "Program to control some radio dongles")
|
|
||||||
(description
|
|
||||||
"@code{rfcat} is a program to control some radio dongles operating in
|
|
||||||
ISM bands.
|
ISM bands.
|
||||||
|
|
||||||
Supported dongles:
|
Supported dongles:
|
||||||
|
@ -2549,8 +2545,8 @@ Supported dongles:
|
||||||
|
|
||||||
To install the rfcat udev rules, you must extend @code{udev-service-type} with
|
To install the rfcat udev rules, you must extend @code{udev-service-type} with
|
||||||
this package. E.g.: @code{(udev-rules-service 'rfcat rfcat)}")
|
this package. E.g.: @code{(udev-rules-service 'rfcat rfcat)}")
|
||||||
(license (list license:bsd-3
|
(license (list license:bsd-3
|
||||||
license:gpl2)))))
|
license:gpl2))))
|
||||||
|
|
||||||
(define-public rx-tools
|
(define-public rx-tools
|
||||||
;; No tagged release since 2016, use commit instead.
|
;; No tagged release since 2016, use commit instead.
|
||||||
|
|
Reference in a new issue