summaryrefslogtreecommitdiff
path: root/gnu/packages/xml.scm
diff options
context:
space:
mode:
authorRaimon Grau <raimon@3scale.net>2015-12-28 11:51:59 +0000
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-01-07 16:00:00 +0100
commitfe9451c50ab3508b7e312b87c1b18acbf9121905 (patch)
tree97093d176a6a010ab942bd856504e46477c45771 /gnu/packages/xml.scm
parent29e255ca8362212b1a325dc904dd0f2a95140a9d (diff)
downloadpatches-fe9451c50ab3508b7e312b87c1b18acbf9121905.tar
patches-fe9451c50ab3508b7e312b87c1b18acbf9121905.tar.gz
gnu: Add xmlstarlet.
* gnu/packages/xml.scm (xmlstarlet): New variable.
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r--gnu/packages/xml.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 8288869a9f..7419c61d3a 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2015 Raimon Grau <raimonster@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -707,3 +708,27 @@ 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)))