From 90ce48656878b5460eb82d7c69612e5909efc64b Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 6 Jul 2019 18:49:08 -0700 Subject: [PATCH 06/10] gnu: Add python-pyside-2-tools. * gnu/packages/qt.scm (python-pyside-2-tools): New variable. --- gnu/packages/qt.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 7101ec43fa..feec70b21e 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -2419,3 +2419,36 @@ generate Python bindings for your C or C++ code.") ;; https://code.qt.io/cgit/pyside/pyside-setup.git/tree/LICENSE.GPLv3-EXCEPT ;; https://code.qt.io/cgit/pyside/pyside-setup.git/tree/LICENSE.COMMERCIAL ,license:lgpl3))))) + +(define-public python-pyside-2-tools + (let ((revision "1") + ;; Pinned to branches with support for qt 5.11.3 + (commit "f1b775537e7fbd718516749583b2abf1cb6adbce")) + (package + (name "python-pyside-2-tools") + (version (git-version "v5.11.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://code.qt.io/pyside/pyside-tools") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1w2g5afvww9r89wmdm9jx8sz67x4bzy9difkh72n4c73ya1n91ry")))) + (build-system cmake-build-system) + (inputs + `(("python-pyside-2" ,python-pyside-2) + ("python-shiboken-2" ,python-shiboken-2) + ("qtbase" ,qtbase))) + (arguments + `(#:tests? #f + #:configure-flags '("-DBUILD_TESTS=off"))) + (home-page "https://wiki.qt.io/Qt_for_Python") + (synopsis + "Contains command line tools for PySide2") + (description + "Contains lupdate, rcc and uic tools for PySide2") + ;; Help! (This is from arch) + (license license:lgpl2.1+)))) -- 2.23.0