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-05 15:51:09 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:27 -0600
commit0e2f7cfcc7c1b75395eb6e8b2ff7710ac0564f52 (patch)
treef1cebe563af0f64f8d9f444cff8a57eadf239fbb /gnu/packages/perl.scm
parent5f600011335347a8714861deb463e3287b610587 (diff)
downloadguix-0e2f7cfcc7c1b75395eb6e8b2ff7710ac0564f52.tar.gz
gnu: Add B-Hooks-EndOfScope.
* gnu/packages/perl.scm (perl-b-hooks-endofscope): 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 173ff8cd39..b4a4aa9ae8 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -101,6 +101,30 @@ 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-b-hooks-endofscope
+  (package
+    (name "perl-b-hooks-endofscope")
+    (version "0.13")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+                           "B-Hooks-EndOfScope-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1f5d0lbkwf23dfjn60g6fynmjhy5rxdyxcpdfb07srm73qpg2zpi"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-module-runtime" ,perl-module-runtime)
+       ("perl-module-implementation" ,perl-module-implementation)
+       ("perl-sub-exporter-progressive" ,perl-sub-exporter-progressive)
+       ("perl-variable-magic" ,perl-variable-magic)))
+    (home-page "http://search.cpan.org/dist/B-Hooks-EndOfScope")
+    (synopsis "Execute code after a scope finished compilation")
+    (description "This module allows you to execute code when perl finished
+compiling the surrounding scope.")
+    (license (package-license perl))))
+
 (define-public perl-benchmark-timer
   (package
     (name "perl-benchmark-timer")