From: Raimon Grau <raimonster@gmail.com>
To: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: New package: xmlstarlet
Date: Mon, 28 Dec 2015 11:59:03 +0000 [thread overview]
Message-ID: <87si2m7piw.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 138 bytes --]
Hi,
I've packaged xmlstarlet. I tried to follow all conventions, but I
may have missed some... So, any comments are welcome :)
Cheers,
[-- Attachment #2: XmlStarlet --]
[-- Type: text/x-diff, Size: 1916 bytes --]
From 592e889da41a92f029526283c7c837cd426f21cb Mon Sep 17 00:00:00 2001
From: Raimon Grau <raimon@3scale.net>
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 <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,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
next reply other threads:[~2015-12-28 11:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-28 11:59 Raimon Grau [this message]
2015-12-28 19:41 ` New package: xmlstarlet Ricardo Wurmus
2015-12-28 21:09 ` Raimon Grau
2015-12-28 21:55 ` Leo Famulari
2016-01-05 1:37 ` Raimon Grau
2016-01-07 14:58 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87si2m7piw.fsf@gmail.com \
--to=raimonster@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.