summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-11 17:18:02 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:56 -0500
commitf902e4bcc2fd174dabee1e68f80df7f3e60ec9ef (patch)
treeeb7c1bc66f1a31d7ba4c58bc114cd8710783571e /gnu
parent84c2c6d6339d8103db264dfcb790f0520abb7f2a (diff)
downloadguix-f902e4bcc2fd174dabee1e68f80df7f3e60ec9ef.tar.gz
gnu: Add base.
* gnu/packages/perl.scm (perl-base): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 07df78ce6b..90ba940e63 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -123,6 +123,27 @@ manipulate, read, and write Zip archive files.")
     (home-page "http://search.cpan.org/~phred/Archive-Zip-1.37/lib/Archive/Zip.pm")
     (license (package-license perl))))
 
+(define-public perl-base
+  (package
+    (name "perl-base")
+    (version "2.18")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/R/RG/RGARCIA/"
+                           "base-" version ".tar.gz"))
+       (sha256
+        (base32
+         "01n3l5ifmn2wd0aadpnzya27b75imibj9zdivkfzcpnviqgx5c2m"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/base")
+    (synopsis "Establish an ISA relationship with base classes at compile time")
+    (description "Allows you to both load one or more modules, while setting
+up inheritance from those modules at the same time.  Unless you are using the
+fields pragma, consider this module discouraged in favor of the lighter-weight
+parent.")
+    (license (package-license perl))))  ;See README
+
 (define-public perl-b-hooks-endofscope
   (package
     (name "perl-b-hooks-endofscope")