[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/12: gnu: Add perl-hook-lexwrap.
From: |
guix-commits |
Subject: |
01/12: gnu: Add perl-hook-lexwrap. |
Date: |
Sun, 14 Jun 2020 06:41:48 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 25985c69577ce1ec33ffa75c25bd1d71170bc2fa
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jun 14 11:07:39 2020 +0200
gnu: Add perl-hook-lexwrap.
* gnu/packages/perl.scm (perl-hook-lexwrap): 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 e7d4ce8..60a2008 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -26,6 +26,7 @@
;;; Copyright © 2019 Stephen J. Scheck <sscheck@cpan.org>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
+;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -4980,6 +4981,29 @@ merged.")
that may contain multiple values per key, inspired by MultiDict of WebOb.")
(license (package-license perl))))
+(define-public perl-hook-lexwrap
+ (package
+ (name "perl-hook-lexwrap")
+ (version "0.26")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/"
+ "Hook-LexWrap-" version ".tar.gz"))
+ (sha256
+ (base32 "0bgc6w8zs45n6ksgk0zisn9a2vcr3lmzipkan2a94kzrk1gxq2xn"))))
+ (build-system perl-build-system)
+ (home-page
+ "https://metacpan.org/release/Hook-LexWrap")
+ (synopsis "Lexically scoped subroutine wrappers")
+ (description
+ "Hook::LexWrap allows you to install a pre- or post-wrapper (or
+both) around an existing subroutine. Unlike other modules that
+provide this capacity (e.g., Hook::PreAndPost and Hook::WrapSub),
+Hook::LexWrap implements wrappers in such a way that the standard
+caller function works correctly within the wrapped subroutine.")
+ (license perl-license)))
+
(define-public perl-importer
(package
(name "perl-importer")
- branch master updated (8331e23 -> f810d69), guix-commits, 2020/06/14
- 03/12: gnu: Add perl-test-subcalls., guix-commits, 2020/06/14
- 01/12: gnu: Add perl-hook-lexwrap.,
guix-commits <=
- 04/12: gnu: Add perl-data-section-simple., guix-commits, 2020/06/14
- 05/12: gnu: Add perl-tie-simple., guix-commits, 2020/06/14
- 06/12: gnu: Add perl-text-haml., guix-commits, 2020/06/14
- 09/12: gnu: Add perl-ppi., guix-commits, 2020/06/14
- 10/12: gnu: Add perl-locale-maketext-lexicon., guix-commits, 2020/06/14
- 02/12: gnu: Add perl-test-object., guix-commits, 2020/06/14
- 12/12: gnu: Use ‘license:’ prefix in (gnu packages perl)., guix-commits, 2020/06/14
- 07/12: gnu: Add perl-lingua-en-sentence., guix-commits, 2020/06/14
- 08/12: gnu: Add perl-compress-bzip2., guix-commits, 2020/06/14
- 11/12: gnu: Add perl-text-patch., guix-commits, 2020/06/14