mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: qspectrumanalyzer: Switch to pyproject.
* gnu/packages/radio.scm (qspectrumanalyzer): [build-system]: Switch to pyproject-build-system. [arguments]: Relocate them, improve style. <#:phases>: Relocate phase 'wrap-path. [native-inputs]: Add python-setuptools. Change-Id: I4b236b72ed0d680a5c03fa3d29200830f31833d6 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
391981aa40
commit
256a1ce13c
1 changed files with 14 additions and 13 deletions
|
|
@ -813,7 +813,20 @@ devices that are supported by the SoapySDR library.")
|
|||
(uri (pypi-uri "QSpectrumAnalyzer" version))
|
||||
(sha256
|
||||
(base32 "1bhl8zp4z7v3595ailyivx9vb7y5si6kr22aylphb5pf60jxqhn0"))))
|
||||
(build-system python-build-system)
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ; No tests
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'wrap 'wrap-path
|
||||
;; Add the location of the default backend to PATH.
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(wrap-program (string-append #$output "/bin/qspectrumanalyzer")
|
||||
`("PATH" ":" prefix
|
||||
(,(dirname (search-input-file inputs
|
||||
"bin/soapy_power"))))))))))
|
||||
(native-inputs (list python-setuptools))
|
||||
(inputs
|
||||
(list bash-minimal
|
||||
python-pyqt
|
||||
|
|
@ -822,18 +835,6 @@ devices that are supported by the SoapySDR library.")
|
|||
python-simplespectral
|
||||
python-simplesoapy
|
||||
soapy-power))
|
||||
(arguments
|
||||
(list #:tests? #f ; No tests
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'install 'wrap-path
|
||||
;; Add the location of the default backend to PATH.
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(wrap-program (string-append #$output
|
||||
"/bin/qspectrumanalyzer")
|
||||
`("PATH" ":" prefix
|
||||
(,(string-append (assoc-ref inputs "soapy-power")
|
||||
"/bin")))))))))
|
||||
(home-page "https://github.com/xmikos/qspectrumanalyzer")
|
||||
(synopsis "Spectrum analyzer for multiple SDR platforms")
|
||||
(description
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue