[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/19: gnu: Add perl-xml-descent.
From: |
Marius Bakke |
Subject: |
10/19: gnu: Add perl-xml-descent. |
Date: |
Thu, 2 Mar 2017 12:39:53 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit d66fa69618d476362d39b893facf90bc81c8f241
Author: Marius Bakke <address@hidden>
Date: Fri Dec 9 21:17:02 2016 +0100
gnu: Add perl-xml-descent.
* gnu/packages/xml.scm (perl-xml-descent): New variable.
---
gnu/packages/xml.scm | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index f66b8a6..9a22535 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -13,7 +13,7 @@
;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
;;; Copyright © 2016 ng0 <address@hidden>
;;; Copyright © 2016 Tobias Geerinckx-Rice <address@hidden>
-;;; Copyright © 2016 Marius Bakke <address@hidden>
+;;; Copyright © 2016, 2017 Marius Bakke <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -238,6 +238,34 @@ the @code{Graph} class and write it out in a specific file
format.")
@code{XML::Atom} implements the feed format as well as a client for the API.")
(license (package-license perl))))
+(define-public perl-xml-descent
+ (package
+ (name "perl-xml-descent")
+ (version "1.04")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/A/AN/ANDYA/"
+ "XML-Descent-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0l5xmw2hd95ypppz3lyvp4sn02ccsikzjwacli3ydxfdz1bbh4d7"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-module-build" ,perl-module-build)))
+ (propagated-inputs
+ `(("perl-test-differences" ,perl-test-differences)
+ ("perl-xml-tokeparser" ,perl-xml-tokeparser)))
+ (home-page "http://search.cpan.org/dist/XML-Descent")
+ (synopsis "Recursive descent XML parsing")
+ (description
+ "The conventional models for parsing XML are either @dfn{DOM}
+(a data structure representing the entire document tree is created) or
address@hidden (callbacks are issued for each element in the XML).
+
+XML grammar is recursive - so it's nice to be able to write recursive
+parsers for it. @code{XML::Descent} allows such parsers to be created.")
+ (license (package-license perl))))
+
(define-public perl-xml-parser
(package
(name "perl-xml-parser")
- 01/19: gnu: leveldb: Update to 1.20., (continued)
- 01/19: gnu: leveldb: Update to 1.20., Marius Bakke, 2017/03/02
- 05/19: gnu: Add perl-devel-checkcompiler., Marius Bakke, 2017/03/02
- 04/19: gnu: Add perl-ev., Marius Bakke, 2017/03/02
- 07/19: gnu: Add perl-module-build-xsutil., Marius Bakke, 2017/03/02
- 02/19: gnu: Add perl-async-interrupt., Marius Bakke, 2017/03/02
- 06/19: gnu: Add perl-cwd-guard., Marius Bakke, 2017/03/02
- 08/19: gnu: Add perl-mouse., Marius Bakke, 2017/03/02
- 14/19: gnu: Add perl-xs-object-magic., Marius Bakke, 2017/03/02
- 18/19: gnu: Add perl-anyevent., Marius Bakke, 2017/03/02
- 09/19: gnu: Add perl-xml-tokeparser., Marius Bakke, 2017/03/02
- 10/19: gnu: Add perl-xml-descent.,
Marius Bakke <=
- 15/19: gnu: Add perl-any-moose., Marius Bakke, 2017/03/02
- 16/19: gnu: Add perl-mousex-nativetraits., Marius Bakke, 2017/03/02
- 19/19: gnu: Add perl-anyevent-i3., Marius Bakke, 2017/03/02
- 17/19: gnu: Add perl-x11-xcb., Marius Bakke, 2017/03/02
- 11/19: gnu: Add perl-test-number-delta., Marius Bakke, 2017/03/02
- 12/19: gnu: Add perl-extutils-depends., Marius Bakke, 2017/03/02
- 13/19: gnu: Add perl-extutils-pkgconfig., Marius Bakke, 2017/03/02