aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-04-07 15:47:32 -0500
committerEric Bavier <bavier@member.fsf.org>2015-04-19 19:48:51 -0500
commit7332618df3987785402d6d8f5931b172002804c6 (patch)
tree5afc8f224beefa425e26143f9c64127c02718737 /gnu/packages/perl.scm
parentf9671ab689b2743797e974a2260473543add7b3a (diff)
downloadpatches-7332618df3987785402d6d8f5931b172002804c6.tar
patches-7332618df3987785402d6d8f5931b172002804c6.tar.gz
gnu: Add UNIVERSAL-isa.
* gnu/packages/perl.scm (perl-universal-isa): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-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 ecda80a8d8..15b7d9a50c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -5462,6 +5462,27 @@ common serialisation formats such as JSON or CBOR.")
UNIVERSAL::can() as a function, which it is not.")
(license (package-license perl))))
+(define-public perl-universal-isa
+ (package
+ (name "perl-universal-isa")
+ (version "1.20140927")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+ "UNIVERSAL-isa-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0ryqk58nkzhdq26si7mh49h8wand1wlmyf4m78qgiyn8ib6989bb"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-module-build-tiny" ,perl-module-build-tiny)))
+ (home-page "http://search.cpan.org/dist/UNIVERSAL-isa")
+ (synopsis "UNIVERSAL::isa() reimplementation")
+ (description "This module attempts to recover from people calling
+UNIVERSAL::isa as a function")
+ (license (package-license perl))))
+
(define-public perl-variable-magic
(package
(name "perl-variable-magic")