diff mbox

[12/14] gnu: Add qtwebchannel.

Message ID 20160610121025.6632-13-efraim@flashner.co.il
State New
Headers show

Commit Message

Efraim Flashner June 10, 2016, 12:10 p.m. UTC
* gnu/packages/qt.scm (qtwebchannel): New variable.
---
 gnu/packages/qt.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
diff mbox

Patch

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index e026b89..1590c11 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -635,6 +635,24 @@  developers using C++ or QML, a CSS & JavaScript like language.")
               (base32
                "1hp63cgqhps6y1k041lzhcb2b0rcpcmszabnn293q5ilbvla4x0b"))))))
 
+(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"))))
+    (inputs
+     `(("qtdeclarative" ,qtdeclarative)
+       ("qtwebsockets" ,qtwebsockets)
+       ,@(package-inputs qtsvg)))))
+
 (define-public qjson
   (package
     (name "qjson")