diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-08-07 22:17:12 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-08-10 09:17:07 -0400 |
commit | 6eb465112ce5f86097a11b73cba84c596d9417b7 (patch) | |
tree | cd8422ed7eb3a6a1a9b76cf4c42c2309d323b80b /gnu | |
parent | 537962ae908cb1a9eb9209b0eb3170e83edcc0bc (diff) | |
download | guix-6eb465112ce5f86097a11b73cba84c596d9417b7.tar.gz guix-6eb465112ce5f86097a11b73cba84c596d9417b7.zip |
gnu: Add pyotherside-for-qt5.
* gnu/packages/qt.scm (pyotherside-for-qt5): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/qt.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 581df38eaa..1184a85938 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -3264,6 +3264,29 @@ interpreter from QML for creating asynchronous mobile and desktop UIs with Python.") (license license:isc))) +(define-public pyotherside-for-qt5 + (package/inherit pyotherside + (name "pyotherside-for-qt5") + (arguments + (substitute-keyword-arguments (package-arguments pyotherside) + ((#:qtbase _ #f) + qtbase-5) + ((#:phases phases '%standard-phases) + #~(modify-phases #$phases + (replace 'fix-installation-prefix + (lambda _ + ;; The QT_INSTALL_QML property points to the qtbase + ;; installation prefix. + (substitute* "src/src.pro" + (("\\$\\$\\[QT_INSTALL_QML]") + (string-append #$output "/lib/qt" + #$(version-major (package-version qtbase-5)) + "/qml"))))))))) + (inputs (modify-inputs (package-inputs pyotherside) + (replace "qtdeclarative" qtdeclarative-5) + (replace "qtquickcontrols2" qtquickcontrols-5) + (replace "qtsvg" qtsvg-5))))) + (define-public python-sip (package (name "python-sip") |