From mboxrd@z Thu Jan 1 00:00:00 1970 From: Raimon Grau Subject: New package: xmlstarlet Date: Mon, 28 Dec 2015 11:59:03 +0000 Message-ID: <87si2m7piw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDWSF-0004OG-Na for guix-devel@gnu.org; Mon, 28 Dec 2015 06:59:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDWSB-0007GI-Ov for guix-devel@gnu.org; Mon, 28 Dec 2015 06:59:11 -0500 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:37466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDWSB-0007GB-Ha for guix-devel@gnu.org; Mon, 28 Dec 2015 06:59:07 -0500 Received: by mail-wm0-x231.google.com with SMTP id f206so5393424wmf.0 for ; Mon, 28 Dec 2015 03:59:06 -0800 (PST) Received: from singularity (181.Red-88-10-63.dynamicIP.rima-tde.net. [88.10.63.181]) by smtp.gmail.com with ESMTPSA id 17sm17441803wmy.15.2015.12.28.03.59.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Dec 2015 03:59:04 -0800 (PST) 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: "guix-devel@gnu.org" --=-=-= Content-Type: text/plain Hi, I've packaged xmlstarlet. I tried to follow all conventions, but I may have missed some... So, any comments are welcome :) Cheers, --=-=-= Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-xmlstarlet.patch Content-Transfer-Encoding: 8bit Content-Description: XmlStarlet >From 592e889da41a92f029526283c7c837cd426f21cb 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 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 8288869..5309aea 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,32 @@ 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 + "http://downloads.sourceforge.net/project/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 (tools) +which can be used to transform, query, validate, and edit XML +documents and files using simple set of shell commands in similar way +it is done for plain text files using UNIX grep, sed, awk, diff, +patch, join, etc commands.") + (license license:x11))) -- 2.6.3 --=-=-=--