[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 06/24] gnu: xml: Add jsoncpp.
From: |
Alex Kost |
Subject: |
Re: [PATCH 06/24] gnu: xml: Add jsoncpp. |
Date: |
Tue, 16 Aug 2016 23:00:30 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
David Craven (2016-08-16 21:39 +0300) wrote:
> * gnu/packages/xml.scm (jsoncpp): New variable.
> ---
> gnu/packages/xml.scm | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
>
> diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
> index 660a0b9..72403c2 100644
> --- a/gnu/packages/xml.scm
> +++ b/gnu/packages/xml.scm
> @@ -832,3 +832,22 @@ files. It is designed to be fast and to handle large
> input files.")
> (synopsis "YAML parser and emitter in C++ matching the YAML 1.2 spec")
> (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"))
Indentation of 'string-append', please :-)
> + (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 "C++ library for interacting with JSON.")
Maybe expand a bit (taken from the project README):
"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)))
--
Alex
- [PATCH 01/24] gnu: qt: Add qtquickcontrols., David Craven, 2016/08/16
- [PATCH 05/24] gnu: xml: Add yaml-cpp., David Craven, 2016/08/16
- [PATCH 04/24] gnu: databases: Add lmdb., David Craven, 2016/08/16
- [PATCH 06/24] gnu: xml: Add jsoncpp., David Craven, 2016/08/16
- [PATCH 02/24] gnu: qt: Add qtquickcontrols2., David Craven, 2016/08/16
- [PATCH 07/24] gnu: compression: Add snappy., David Craven, 2016/08/16
- [PATCH 03/24] gnu: qt: Add qtgraphicaleffects., David Craven, 2016/08/16
- [PATCH 08/24] gnu: xorg: Add lndir., David Craven, 2016/08/16
- [PATCH 15/24] gnu: gstreamer: Symlink gstconfig.h into include directory., David Craven, 2016/08/16