summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-06-10 07:49:43 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-06-15 11:11:56 +0300
commitd5ca54ce475572c1126e1b91d5df2a05c614ec69 (patch)
tree115b48fa7b0c8a2b2d9700d585968e8ae3c4d8c2 /gnu
parentf5377013d64fae24162eb85a6c3d607b3424c883 (diff)
downloadguix-d5ca54ce475572c1126e1b91d5df2a05c614ec69.tar.gz
gnu: Add qtlocation.
* gnu/packages/qt.scm (qtlocation): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/qt.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 706307d1e9..7f169c0974 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -692,6 +692,26 @@ developers using C++ or QML, a CSS & JavaScript like language.")
        ("qtwebsockets" ,qtwebsockets)))
     (inputs `(("qtbase" ,qtbase)))))
 
+(define-public qtlocation
+  (package (inherit qtsvg)
+    (name "qtlocation")
+    (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
+               "0qahs7a2n3l4h0bl8bnwci9mzy1vra3zncnzr40csic9ys67ddfk"))))
+    (native-inputs
+     `(("perl" ,perl)
+       ("qtdeclarative" ,qtdeclarative)
+       ;("qtquickcontrols" ,qtquickcontrols)
+       ("qtserialport" ,qtserialport)))
+    (inputs `(("qtbase" ,qtbase)))))
+
 (define-public qjson
   (package
     (name "qjson")