summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 16:12:37 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:27 -0600
commit70a9a4911a30205428371d49e846ea9509e650bf (patch)
tree51c37e29954893d341ab89f342b8065c013df306
parent81bffd455b9f21a6af7fea2f60319efd80bffa06 (diff)
downloadguix-70a9a4911a30205428371d49e846ea9509e650bf.tar.gz
gnu: Add Devel-GlobalDestruction.
* gnu/packages/perl.scm (perl-devel-globaldestruction): New variable.
-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 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")