summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2016-07-25 23:19:01 +0200
committerAndreas Enge <andreas@enge.fr>2016-07-26 00:38:20 +0200
commit4a8c35e143a2e7101a6c3a96b67a02f2f8825984 (patch)
treec3894332148d40ea7fef9541f0df79065ccac12a
parent95af24a2f1fb58eb9e6ee902c9330534f0aca9f3 (diff)
downloadguix-4a8c35e143a2e7101a6c3a96b67a02f2f8825984.tar.gz
gnu: pyqt: Add versions based on non-modular Qt 5.5.
* gnu/packages/qt.scm (python-pyqt-5.5, python2-pyqt-5.5): New variables.
-rw-r--r--gnu/packages/qt.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 6c1bbc33c3..f2465509ec 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -910,6 +910,33 @@ contain over 620 classes.")
     (inputs
      `(("python" ,python-2)))))
 
+(define-public python-pyqt-5.5
+  (package (inherit python-pyqt)
+    (version "5.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri
+          (string-append "mirror://sourceforge/pyqt/PyQt5/"
+                         "PyQt-" version "/PyQt-gpl-"
+                         version ".tar.gz"))
+        (sha256
+         (base32
+          "056qmkv02wdcfblqdaxiswrgn4wa88sz22i1x58dpb1iniavplfd"))
+       (patches (search-patches "pyqt-configure.patch"))))
+    (native-inputs
+     `(("python-sip" ,python-sip)
+       ("qt" ,qt)))))
+
+(define-public python2-pyqt-5.5
+  (package (inherit python-pyqt-5.5)
+    (name "python2-pyqt")
+    (native-inputs
+     `(("python-sip" ,python2-sip)
+       ("qt" ,qt)))
+    (inputs
+     `(("python" ,python-2)))))
+
 (define-public python-pyqt-4
   (package (inherit python-pyqt)
     (name "python-pyqt")