diff mbox

[13/14] gnu: Add qtlocation.

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

Commit Message

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

Comments

Leo Famulari June 10, 2016, 4:22 p.m. UTC | #1
On Fri, Jun 10, 2016 at 03:10:24PM +0300, Efraim Flashner wrote:
> * gnu/packages/qt.scm (qtlocation): New variable.

> +    (inputs
> +     `(("qtdeclarative" ,qtdeclarative)
> +       ;("qtquickcontrols" ,qtquickcontrols)

Left over from something?
diff mbox

Patch

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 1590c11..4c8a8aa 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -653,6 +653,25 @@  developers using C++ or QML, a CSS & JavaScript like language.")
        ("qtwebsockets" ,qtwebsockets)
        ,@(package-inputs qtsvg)))))
 
+(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"))))
+    (inputs
+     `(("qtdeclarative" ,qtdeclarative)
+       ;("qtquickcontrols" ,qtquickcontrols)
+       ("qtserialport" ,qtserialport)
+       ,@(package-inputs qtsvg)))))
+
 (define-public qjson
   (package
     (name "qjson")