[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 05/22] gnu: Add perl-graph-readwrite.
From: |
Ben Woodcroft |
Subject: |
[PATCH 05/22] gnu: Add perl-graph-readwrite. |
Date: |
Wed, 27 Jul 2016 22:54:06 +1000 |
* gnu/packages/xml.scm (perl-graph-readwrite): New variable.
---
gnu/packages/xml.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index af597b8..0533cb9 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2015, 2016 Efraim Flashner <address@hidden>
;;; Copyright © 2015 Raimon Grau <address@hidden>
;;; Copyright © 2016 Leo Famulari <address@hidden>
+;;; Copyright © 2016 Ben Woodcroft <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -188,6 +189,38 @@ based on libxml for XML parsing, tree manipulation and
XPath support.")
(base32
"1klh81xbm9ppzgqk339097i39b7fnpmlj8lzn8bpczl3aww6x5xm")))))))
+(define-public perl-graph-readwrite
+ (package
+ (name "perl-graph-readwrite")
+ (version "2.08")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/N/NE/NEILB/Graph-ReadWrite-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1wjni212nfz9irp19nx9if1lj3w9cybpdbzhii4g8macpryjj7ci"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-graph" ,perl-graph)
+ ("perl-parse-yapp" ,perl-parse-yapp)
+ ("perl-xml-parser" ,perl-xml-parser)
+ ("perl-xml-writer" ,perl-xml-writer)))
+ (home-page "http://search.cpan.org/dist/Graph-ReadWrite")
+ (synopsis "Modules for reading and writing directed graphs")
+ (description "This is a collection of perl classes for reading and writing
+directed graphs in a variety of file formats. The graphs are represented in
+Perl using Jarkko Hietaniemi's @code{Graph} classes.
+
+There are two base classes. @code{Graph::Reader} is the base class for classes
+which read a graph file and create an instance of the Graph class.
address@hidden::Writer} is the base class for classes which take an instance of
+the @code{Graph} class and write it out in a specific file format.")
+ (license (package-license perl))))
+
(define-public perl-xml-parser
(package
(name "perl-xml-parser")
--
2.9.1
- PATCH [0/22]: Add roary., Ben Woodcroft, 2016/07/27
- [PATCH 01/22] gnu: parallel: Use full paths for executables., Ben Woodcroft, 2016/07/27
- [PATCH 02/22] gnu: Add perl-xml-writer., Ben Woodcroft, 2016/07/27
- [PATCH 03/22] gnu: Add perl-parse-yapp., Ben Woodcroft, 2016/07/27
- [PATCH 04/22] gnu: Add perl-graph., Ben Woodcroft, 2016/07/27
- [PATCH 05/22] gnu: Add perl-graph-readwrite.,
Ben Woodcroft <=
- [PATCH 06/22] gnu: Add perl-log-log4perl., Ben Woodcroft, 2016/07/27
- [PATCH 08/22] gnu: Add perl-file-path., Ben Woodcroft, 2016/07/27
- [PATCH 07/22] gnu: Add perl-file-slurper., Ben Woodcroft, 2016/07/27
- [PATCH 09/22] gnu: Add perl-file-grep., Ben Woodcroft, 2016/07/27
- [PATCH 10/22] gnu: Add perl-array-utils., Ben Woodcroft, 2016/07/27
- [PATCH 11/22] gnu: Add perl-test-files., Ben Woodcroft, 2016/07/27
- [PATCH 12/22] gnu: Add perl-env-path., Ben Woodcroft, 2016/07/27
- [PATCH 13/22] gnu: Add mcl., Ben Woodcroft, 2016/07/27
- [PATCH 14/22] gnu: Add bpp-core., Ben Woodcroft, 2016/07/27