summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 16:19:25 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:28 -0600
commite2e3d62a657f72d50d23fd3cf387202fcd1c3ce8 (patch)
tree10fbc26fc6b56289cf6da1494c34ae2e3818abad
parent2aa51030e916e0783b0dfdf1617791a42931ae86 (diff)
downloadguix-e2e3d62a657f72d50d23fd3cf387202fcd1c3ce8.tar.gz
gnu: Add Devel-OverloadInfo.
* gnu/packages/perl.scm (perl-devel-overloadinfo): New variable.
-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 f0e5567b53..c59601250a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -312,6 +312,30 @@ CPAN::Meta object are present.")
 equivalent of \"${^GLOBAL_PHASE} eq 'DESTRUCT'\" for older perls.")
     (license (package-license perl))))
 
+(define-public perl-devel-overloadinfo
+  (package
+    (name "perl-devel-overloadinfo")
+    (version "0.002")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/I/IL/ILMARI/"
+                           "Devel-OverloadInfo-" version ".tar.gz"))
+       (sha256
+        (base32
+         "14gzjlsqhypqp0szqj6152qfn69snzydgk1yk6bji5zimzv86qyy"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-package-stash" ,perl-package-stash)
+       ("perl-sub-identify" ,perl-sub-identify)
+       ("perl-mro-compat" ,perl-mro-compat)))
+    (home-page "http://search.cpan.org/dist/Devel-OverloadInfo")
+    (synopsis "Introspect overloaded operators")
+    (description "Devel::OverloadInfo returns information about overloaded
+operators for a given class (or object), including where in the inheritance
+hierarchy the overloads are declared and where the code implementing it is.")
+    (license (package-license perl))))
+
 (define-public perl-digest-sha1
   (package
     (name "perl-digest-sha1")