aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Craven <david@craven.ch>2016-08-17 12:22:35 +0200
committerDavid Craven <david@craven.ch>2016-08-18 13:06:22 +0200
commitcd131a762384628a59a443865763d157a1756f42 (patch)
treecdf99958f81dc4abec6357574d0c2da57055362f
parentf50f4ae454ab8e32c3b43541c493ba652ec03a05 (diff)
downloadguix-cd131a762384628a59a443865763d157a1756f42.tar
guix-cd131a762384628a59a443865763d157a1756f42.tar.gz
gnu: Add jsoncpp.
* gnu/packages/serialization.scm (jsoncpp): New variable.
-rw-r--r--gnu/packages/serialization.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 8504395d7c..9355b191fb 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -147,3 +147,25 @@ serialization.")
(synopsis "YAML parser and emitter in C++")
(description "YAML parser and emitter in C++ matching the YAML 1.2 spec.")
(license license:bsd-3)))
+
+(define-public jsoncpp
+ (package
+ (name "jsoncpp")
+ (version "1.7.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/open-source-parsers/jsoncpp/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0sgp6nc4c6pfn92f369v08zdwpqswn9j2ihy59bpwwl0grkx1p0h"))))
+ (build-system cmake-build-system)
+ (home-page "https://github.com/open-source-parsers/jsoncpp")
+ (synopsis "C++ library for interacting with JSON")
+ (description "JsonCpp is a C++ library that allows manipulating JSON values,
+including serialization and deserialization to and from strings. It can also
+preserve existing comment in unserialization/serialization steps, making
+it a convenient format to store user input files.")
+ (license license:expat)))