summary refs log tree commit diff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-12 13:09:20 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:58 -0500
commitb9f6e75efc4ba146acd89dd35e073ebf998639ad (patch)
tree9232d73a971a4c4131ad2c0494ca1aac86c119e0 /gnu/packages/perl.scm
parente3ad9d64d6e25207f3a489a0643ab0e56fcc0f03 (diff)
downloadguix-b9f6e75efc4ba146acd89dd35e073ebf998639ad.tar.gz
gnu: Add Tree-Simple.
* gnu/packages/perl.scm (perl-tree-simple): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-rw-r--r--gnu/packages/perl.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index beb7f8dce8..847abe7ec3 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2901,6 +2901,30 @@ time values and formating dates into ASCII strings.")
 and time() calls.")
     (license (package-license perl))))
 
+(define-public perl-tree-simple
+  (package
+    (name "perl-tree-simple")
+    (version "1.25")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/R/RS/RSAVAGE/"
+                           "Tree-Simple-" version ".tgz"))
+       (sha256
+        (base32
+         "1xj1n70v4qbx7m9k01bj9aixk77yssliavgvfds3xj755hcan0nr"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-module-build" ,perl-module-build)
+       ("perl-test-exception" ,perl-test-exception)))
+    (propagated-inputs
+     `(("perl-scalar-list-utils" ,perl-scalar-list-utils)))
+    (home-page "http://search.cpan.org/dist/Tree-Simple")
+    (synopsis "Simple tree object")
+    (description "This module in a fully object-oriented implementation of a
+simple n-ary tree.")
+    (license (package-license perl))))
+
 (define-public perl-try-tiny
   (package
     (name "perl-try-tiny")