summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-06-06 20:14:45 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-06-15 11:11:56 +0300
commit3474767cbd46102e3398a421e63223eace009a67 (patch)
tree6b82449795aebb6432f1944a106f3637c76c7149 /gnu
parentcac893ec09f7f1b1922e42f85f45235c603b220d (diff)
downloadguix-3474767cbd46102e3398a421e63223eace009a67.tar.gz
gnu: Add qtsensors.
* gnu/packages/qt.scm (qtsensors): New variable.
Diffstat (limited to 'gnu')
-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 e25081bfba..81334a3f78 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -583,6 +583,24 @@ developers using C++ or QML, a CSS & JavaScript like language.")
        ("qtdeclarative" ,qtdeclarative)))
     (inputs `(("qtbase" ,qtbase)))))
 
+(define-public qtsensors
+  (package (inherit qtsvg)
+    (name "qtsensors")
+    (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
+               "0bll7ll6s5g8w89knyrc0famjwqyfzwpn512m1f96bf6xwacs967"))))
+    (native-inputs
+     `(("perl" ,perl)
+       ("qtdeclarative" ,qtdeclarative)))
+    (inputs `(("qtbase" ,qtbase)))))
+
 (define-public qjson
   (package
     (name "qjson")