guix-commits
[Top][All Lists]
Advanced

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

09/72: gnu: Add Try-Tiny.


From: Eric Bavier
Subject: 09/72: gnu: Add Try-Tiny.
Date: Fri, 06 Mar 2015 14:12:51 +0000

bavier pushed a commit to branch master
in repository guix.

commit 90ae6151cf00075e288f9125543124ebbc1fe9de
Author: Eric Bavier <address@hidden>
Date:   Thu Mar 5 15:19:38 2015 -0600

    gnu: Add Try-Tiny.
    
    * gnu/packages/perl.scm (perl-try-tiny): New variable.
---
 gnu/packages/perl.scm |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f79f568..523dcdf 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -640,6 +640,26 @@ a minimum of effort.")
     ;; "Under the same license as Perl itself"
     (license (package-license perl))))
 
+(define-public perl-try-tiny
+  (package
+    (name "perl-try-tiny")
+    (version "0.22")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/D/DO/DOY/"
+                           "Try-Tiny-" version ".tar.gz"))
+       (sha256
+        (base32
+         "068vdbpacfawc3lkfs0b82xxl27h3l0gj14iada3vlwk8rps9yv0"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Try-Tiny";)
+    (synopsis "Minimal try/catch with proper preservation of $@")
+    (description "This module provides bare bones try/catch/finally statements
+that are designed to minimize common mistakes with eval blocks, and nothing
+else.")
+    (license x11)))
+
 
 ;;; Some packaged modules need versions of core modules that are newer than
 ;;; those in our perl 5.16.1.



reply via email to

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