[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 05/24] gnu: xml: Add yaml-cpp.
From: |
Alex Kost |
Subject: |
Re: [PATCH 05/24] gnu: xml: Add yaml-cpp. |
Date: |
Tue, 16 Aug 2016 22:58:24 +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 (yaml-cpp): New variable.
> ---
> gnu/packages/xml.scm | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
>
> diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
> index cfdc6c0..660a0b9 100644
> --- a/gnu/packages/xml.scm
> +++ b/gnu/packages/xml.scm
> @@ -12,6 +12,7 @@
> ;;; Copyright © 2016 Leo Famulari <address@hidden>
> ;;; Copyright © 2016 Ben Woodcroft <address@hidden>
> ;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
> +;;; Copyright © 2016 David Craven <address@hidden>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -31,6 +32,7 @@
> (define-module (gnu packages xml)
> #:use-module (gnu packages)
> #:use-module (gnu packages autotools)
> + #:use-module (gnu packages boost)
> #:use-module (gnu packages compression)
> #:use-module (gnu packages gnupg)
> #:use-module (gnu packages perl)
> @@ -808,3 +810,25 @@ XSLT and EXSLT.")
> XLSM) format spreadsheets into plaintext @dfn{comma separated values} (CSV)
> files. It is designed to be fast and to handle large input files.")
> (license license:gpl2+)))
> +
> +(define-public yaml-cpp
> + (package
> + (name "yaml-cpp")
> + (version "0.5.3")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append
> + "https://github.com/jbeder/yaml-cpp/archive/"
> + "yaml-cpp-" version ".tar.gz"))
Please indent string-append like this:
(uri (string-append
"https://github.com/jbeder/yaml-cpp/archive/"
"yaml-cpp-" version ".tar.gz"))
> + (sha256
> + (base32
> + "1vk6pjh0f5k6jwk2sszb9z5169whmiha9ainbdpa1arxlkq7v3b6"))))
> + (build-system cmake-build-system)
> + (inputs
> + `(("boost" ,boost)))
> + (native-inputs
> + `(("python" ,python)))
> + (home-page "https://github.com/jbeder/yaml-cpp")
> + (synopsis "YAML parser and emitter in C++ matching the YAML 1.2 spec")
I would simplify the synopsis a bit: "YAML parser and emitter in C++"
(just because I don't like when synopsis and description are the same :-))
> + (description "YAML parser and emitter in C++ matching the YAML 1.2
> spec.")
> + (license license:bsd-3)))
--
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
- Re: [PATCH 05/24] gnu: xml: Add yaml-cpp.,
Alex Kost <=
- [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