From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: [PATCH 05/24] gnu: xml: Add yaml-cpp. Date: Tue, 16 Aug 2016 22:58:24 +0300 Message-ID: <87ziociizj.fsf@gmail.com> References: <20160816183938.22794-1-david@craven.ch> <20160816183938.22794-5-david@craven.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZkVJ-0001yR-Iy for guix-devel@gnu.org; Tue, 16 Aug 2016 15:58:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZkVF-0007qf-Fc for guix-devel@gnu.org; Tue, 16 Aug 2016 15:58:28 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:33766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZkVF-0007qW-9G for guix-devel@gnu.org; Tue, 16 Aug 2016 15:58:25 -0400 Received: by mail-wm0-x242.google.com with SMTP id o80so18224731wme.0 for ; Tue, 16 Aug 2016 12:58:25 -0700 (PDT) In-Reply-To: <20160816183938.22794-5-david@craven.ch> (David Craven's message of "Tue, 16 Aug 2016 20:39:19 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: David Craven Cc: guix-devel@gnu.org 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 =C2=A9 2016 Leo Famulari > ;;; Copyright =C2=A9 2016 Ben Woodcroft > ;;; Copyright =C2=A9 2016 Jan Nieuwenhuizen > +;;; Copyright =C2=A9 2016 David Craven > ;;; > ;;; 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} (C= SV) > 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 s= pec.") > + (license license:bsd-3))) --=20 Alex