summary refs log tree commit diff
path: root/gnu/packages/qt.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-06-06 20:05:47 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-06-15 11:11:56 +0300
commitcac893ec09f7f1b1922e42f85f45235c603b220d (patch)
tree72db39a52ab0fe73589fa1220882cfc53f99048c /gnu/packages/qt.scm
parente98cb96d69b8aa743c62c4f73c69e8cb16c0e5e4 (diff)
downloadguix-cac893ec09f7f1b1922e42f85f45235c603b220d.tar.gz
gnu: Add qtwebsockets.
* gnu/packages/qt.scm (qtwebsockets): New variable.
Diffstat (limited to 'gnu/packages/qt.scm')
-rw-r--r--gnu/packages/qt.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index c9770050a9..e25081bfba 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -565,6 +565,24 @@ developers using C++ or QML, a CSS & JavaScript like language.")
      `(("bluez" ,bluez)
        ("qtbase" ,qtbase)))))
 
+(define-public qtwebsockets
+  (package (inherit qtsvg)
+    (name "qtwebsockets")
+    (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
+               "0fkj52i4yi6gmq4jfjgdij08cspxspac6mbpf0fknnllimmkl7jm"))))
+    (native-inputs
+     `(("perl" ,perl)
+       ("qtdeclarative" ,qtdeclarative)))
+    (inputs `(("qtbase" ,qtbase)))))
+
 (define-public qjson
   (package
     (name "qjson")