From 70a9a4911a30205428371d49e846ea9509e650bf Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 5 Mar 2015 16:12:37 -0600 Subject: [PATCH] gnu: Add Devel-GlobalDestruction. * gnu/packages/perl.scm (perl-devel-globaldestruction): New variable. --- gnu/packages/perl.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 303f5122e0..a3bbbc0450 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -291,6 +291,27 @@ CPAN::Meta object are present.") "Data::OptList provides a simple syntax for name/value option pairs.") (license (package-license perl)))) +(define-public perl-devel-globaldestruction + (package + (name "perl-devel-globaldestruction") + (version "0.13") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/H/HA/HAARG/" + "Devel-GlobalDestruction-" version ".tar.gz")) + (sha256 + (base32 + "0qn4iszgylnxjdkb6430f6a3ci7bcx9ih1az6bd5cbij1pf2965j")))) + (build-system perl-build-system) + (propagated-inputs + `(("perl-sub-exporter-progressive" ,perl-sub-exporter-progressive))) + (home-page "http://search.cpan.org/dist/Devel-GlobalDestruction") + (synopsis "Provides equivalent of ${^GLOBAL_PHASE} eq 'DESTRUCT' for older perls") + (description "Devel::GlobalDestruction provides a function returning the +equivalent of \"${^GLOBAL_PHASE} eq 'DESTRUCT'\" for older perls.") + (license (package-license perl)))) + (define-public perl-digest-sha1 (package (name "perl-digest-sha1")