diff mbox

[07/14] gnu: Add qtwebsockets.

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

Commit Message

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

Patch

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index fee4d20..d1bb545 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -551,6 +551,23 @@  developers using C++ or QML, a CSS & JavaScript like language.")
      `(("qtdeclarative" ,qtdeclarative)
        ,@(package-inputs qtsvg)))))
 
+(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"))))
+    (inputs
+     `(("qtdeclarative" ,qtdeclarative)
+       ,@(package-inputs qtsvg)))))
+
 (define-public qjson
   (package
     (name "qjson")