summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-06-09 23:56:18 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-06-15 11:11:56 +0300
commitf5377013d64fae24162eb85a6c3d607b3424c883 (patch)
tree42529a3b49724a58b03ededb5af11135a99e2956
parent00806f2bb9fcfe76a0c37c6698a7af946d395ae6 (diff)
downloadguix-f5377013d64fae24162eb85a6c3d607b3424c883.tar.gz
gnu: Add qtwebchannel.
* gnu/packages/qt.scm (qtwebchannel): New variable.
-rw-r--r--gnu/packages/qt.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index ba3f511d5f..706307d1e9 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -673,6 +673,25 @@ developers using C++ or QML, a CSS & JavaScript like language.")
     (native-inputs `(("perl" ,perl)))
     (inputs `(("qtbase" ,qtbase)))))
 
+(define-public qtwebchannel
+  (package (inherit qtsvg)
+    (name "qtwebchannel")
+    (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
+               "01q80917a1048hdhaii4v50dqs84h16lc9w3v99r9xvspk8vab7q"))))
+    (native-inputs
+     `(("perl" ,perl)
+       ("qtdeclarative" ,qtdeclarative)
+       ("qtwebsockets" ,qtwebsockets)))
+    (inputs `(("qtbase" ,qtbase)))))
+
 (define-public qjson
   (package
     (name "qjson")