From 0e2f7cfcc7c1b75395eb6e8b2ff7710ac0564f52 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 5 Mar 2015 15:51:09 -0600 Subject: [PATCH] gnu: Add B-Hooks-EndOfScope. * gnu/packages/perl.scm (perl-b-hooks-endofscope): New variable. --- gnu/packages/perl.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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")