mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: python-pyside-2-tools: Use G-expressions.
* gnu/packages/qt.scm (python-pyside2-tools)[native-inputs]: Use label-less style. [arguments]: Use G-expressions. <#:configure-flags>: Use SEARCH-INPUT-FILE. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
7c9ac0468b
commit
e2e351cb45
1 changed files with 12 additions and 10 deletions
|
@ -4031,17 +4031,19 @@ (define-public python-pyside-2-tools
|
|||
(inputs
|
||||
(list python-pyside-2 python-shiboken-2 qtbase-5))
|
||||
(native-inputs
|
||||
`(("python" ,python-wrapper)))
|
||||
(list python-wrapper))
|
||||
(arguments
|
||||
`(#:tests? #f
|
||||
#:configure-flags
|
||||
(list "-DBUILD_TESTS=off"
|
||||
(string-append "-DPYTHON_EXECUTABLE="
|
||||
(assoc-ref %build-inputs "python")
|
||||
"/bin/python"))
|
||||
#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'go-to-source-dir
|
||||
(lambda _ (chdir "sources/pyside2-tools") #t)))))
|
||||
(list
|
||||
#:tests? #f
|
||||
#:configure-flags
|
||||
#~(list "-DBUILD_TESTS=off"
|
||||
(string-append "-DPYTHON_EXECUTABLE="
|
||||
(search-input-file %build-inputs
|
||||
"/bin/python")))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'go-to-source-dir
|
||||
(lambda _ (chdir "sources/pyside2-tools") #t)))))
|
||||
(home-page "https://wiki.qt.io/Qt_for_Python")
|
||||
(synopsis
|
||||
"Contains command line tools for PySide2")
|
||||
|
|
Loading…
Reference in a new issue