* 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