gnu: Add qttools.
authorEfraim Flashner <efraim@flashner.co.il>
Fri, 10 Jun 2016 11:36:30 +0000 (14:36 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Wed, 15 Jun 2016 08:11:56 +0000 (11:11 +0300)
* gnu/packages/qt.scm (qttools): New variable.

gnu/packages/qt.scm

index 7f169c0..cab1f30 100644 (file)
@@ -712,6 +712,26 @@ developers using C++ or QML, a CSS & JavaScript like language.")
        ("qtserialport" ,qtserialport)))
     (inputs `(("qtbase" ,qtbase)))))
 
+(define-public qttools
+  (package (inherit qtsvg)
+    (name "qttools")
+    (version "5.6.1")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "https://download.qt.io/official_releases/qt/"
+                                 (version-major+minor version) "/" version
+                                 "/submodules/" name "-opensource-src-"
+                                 version ".tar.xz"))
+             (sha256
+              (base32
+               "0wbzq60d7lkvlb7b5lqcw87qgy6kyjz1npjavz8f4grdxsaqi8vp"))))
+    (native-inputs
+     `(("perl" ,perl)
+       ("qtdeclarative" ,qtdeclarative)))
+    (inputs
+     `(("mesa" ,mesa)
+       ("qtbase" ,qtbase)))))
+
 (define-public qjson
   (package
     (name "qjson")