diff options
author | Zhu Zihao <all_but_last@163.com> | 2022-08-25 13:02:46 +0800 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-09-07 22:02:42 +0200 |
commit | e2e351cb45840f208063a315479de1d49f9a9980 (patch) | |
tree | db574e7b099c68ac03a9b0ffd811bc93d74b1727 | |
parent | 7c9ac0468b671eb0162d9d45ad984414f8cd2c2e (diff) | |
download | guix-e2e351cb45840f208063a315479de1d49f9a9980.tar.gz |
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>
-rw-r--r-- | gnu/packages/qt.scm | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index e0b88cc4d8..08bd1921a5 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -4031,17 +4031,19 @@ generate Python bindings for your C or C++ code."))) (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") |