guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/21: gnu: Add Context-Preserve.


From: Eric Bavier
Subject: 07/21: gnu: Add Context-Preserve.
Date: Fri, 13 Mar 2015 18:51:54 +0000

bavier pushed a commit to branch master
in repository guix.

commit f787e9fd4ce9debb3d500cd46a8a939f7f4fc6d5
Author: Eric Bavier <address@hidden>
Date:   Fri Mar 13 08:53:33 2015 -0500

    gnu: Add Context-Preserve.
    
    * gnu/packages/perl.scm (perl-context-preserve): New variable.
---
 gnu/packages/perl.scm |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index b9275a9..7dffe03 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -634,6 +634,29 @@ supports XML, YAML, JSON, Apache-style configuration, and 
Perl code.")
 opportunities to Perl developers as GNU Autoconf does for Shell developers.")
     (license (package-license perl))))
 
+(define-public perl-context-preserve
+  (package
+    (name "perl-context-preserve")
+    (version "0.01")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/J/JR/JROCKWAY/"
+                           "Context-Preserve-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0gssillawjknqks81x7fg7w2x94bnyklgd8ry2pr1k6ifkjhwz46"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-test-exception" ,perl-test-exception)
+       ("perl-test-simple" ,perl-test-simple)))
+    (home-page "http://search.cpan.org/dist/Context-Preserve";)
+    (synopsis "Preserve context during subroutine call")
+    (description "This module runs code after a subroutine call, preserving
+the context the subroutine would have seen if it were the last statement in
+the caller.")
+    (license (package-license perl))))
+
 (define-public perl-cpan-meta-check
   (package
     (name "perl-cpan-meta-check")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]