From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raimon Grau Subject: Re: New package: xmlstarlet Date: Tue, 05 Jan 2016 01:37:33 +0000 Message-ID: <87fuyckdr6.fsf@gmail.com> References: <87si2m7piw.fsf@gmail.com> <87lh8e4ayw.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGGZI-0003Mk-G5 for guix-devel@gnu.org; Mon, 04 Jan 2016 20:37:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGGZF-0007Wt-8x for guix-devel@gnu.org; Mon, 04 Jan 2016 20:37:48 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:35848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGGZF-0007Wm-2Q for guix-devel@gnu.org; Mon, 04 Jan 2016 20:37:45 -0500 Received: by mail-wm0-x22f.google.com with SMTP id l65so6009480wmf.1 for ; Mon, 04 Jan 2016 17:37:44 -0800 (PST) In-reply-to: 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Raimon Grau Cc: "guix-devel@gnu.org" --=-=-= Content-Type: text/plain Raimon Grau writes: > I'm attaching the modified version with all but the description change, > in case anyone knows how to reword it and integrate it already. If not, > any suggestions? I reworded it a bit, and added more concrete info on how one can modify the xmls (find using Xpath and edit using (E)XSLT). --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-xmlstarlet.patch Content-Transfer-Encoding: 8bit Content-Description: Xmlstarlet package >From c4695d8d53098081a79c7c26531e15fbf03b8b3d Mon Sep 17 00:00:00 2001 From: Raimon Grau Date: Mon, 28 Dec 2015 11:51:59 +0000 Subject: [PATCH] gnu: Add xmlstarlet. * gnu/packages/xml.scm (xmlstarlet): 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 8288869..196cec2 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2015 Ricardo Wurmus ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2015 Efraim Flashner +;;; Copyright © 2015 Raimon Grau ;;; ;;; This file is part of GNU Guix. ;;; @@ -707,3 +708,26 @@ Cflags: -I${includedir} C++ programming langauge.") (home-page "http://www.grinninglizard.com/tinyxml/index.html") (license license:zlib))) + +(define-public xmlstarlet + (package + (name "xmlstarlet") + (version "1.6.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/xmlstar/xmlstarlet/" + version "/xmlstarlet-" version ".tar.gz")) + (sha256 + (base32 + "1jp737nvfcf6wyb54fla868yrr39kcbijijmjpyk4lrpyg23in0m")))) + (build-system gnu-build-system) + (inputs + `(("libxslt" ,libxslt) + ("libxml2" ,libxml2))) + (home-page "http://xmlstar.sourceforge.net/") + (synopsis "Command line XML toolkit") + (description "XMLStarlet is a set of command line utilities +which can be used to transform, query, validate, and edit XML +documents. XPath is used to match and extract data, and elements can be added, deleted or modified using XSLT and EXSLT.") + (license license:x11))) -- 2.6.3 --=-=-=--