unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add qjson.
@ 2016-11-08 20:29 John Darrington
  2016-11-08 20:50 ` Leo Famulari
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: John Darrington @ 2016-11-08 20:29 UTC (permalink / raw)
  To: guix-devel; +Cc: John Darrington

* gnu/pacackes/qt.scm (qjson): New variable.
---
 gnu/packages/qt.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index b442356..b434887 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -1285,3 +1285,30 @@ embed content from the World Wide Web into your Qt application.  At the same
 time Web content can be enhanced with native controls.")
 
     (license license:lgpl2.1+)))
+
+
+(define-public qjson
+  (package
+    (name "qjson")
+    (version "0.8.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/flavio/" name
+                           "/archive/" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "163fspi0xc705irv79qw861fmh68pjyla9vx3kqiq6xrdhb9834j"))))
+    (build-system cmake-build-system)
+    (inputs
+     `(("qt-4" ,qt-4)))
+    (arguments
+     `(#:tests? #f)) ; no check target
+    (home-page "http://qjson.sourceforge.net")
+    (synopsis "Qt library mapping between JSON data and Qt objects")
+    (description
+     "QJson is a qt-based library that maps JSON data to QVariant
+objects.  JSON arrays will be mapped to QVariantList instances, while JSON's
+objects will be mapped to QVariantMap.")
+    (license license:lgpl2.1)))
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-08 20:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-08 20:29 [PATCH] gnu: Add qjson John Darrington
2016-11-08 20:50 ` Leo Famulari
2016-11-08 20:50 ` Efraim Flashner
2016-11-08 20:51 ` Leo Famulari
2016-11-08 20:56   ` John Darrington

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).