[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/26] gnu: Add perl-file-pushd.
From: |
Alex Sassmannshausen |
Subject: |
[PATCH 01/26] gnu: Add perl-file-pushd. |
Date: |
Thu, 23 Mar 2017 15:00:31 +0100 |
* gnu/packages/perl.scm (perl-file-pushd): New variable
---
gnu/packages/perl.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 086e1fae0..4944ceb2a 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -3002,6 +3002,34 @@ of arbitrary depth and to delete an entire directory
subtree from the
file system.")
(license (package-license perl))))
+(define-public perl-file-pushd
+ (package
+ (name "perl-file-pushd")
+ (version "1.014")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/D/DA/DAGOLDEN/File-pushd-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "02rlqvyy7gly3dsqwaa81aisyy9c791b8xvwzczcbgmcwgzkgaxm"))))
+ (build-system perl-build-system)
+ (home-page
+ "http://search.cpan.org/dist/File-pushd")
+ (synopsis
+ "Change directory temporarily for a limited scope")
+ (description "@code{File::pushd} does a temporary @code{chdir} that is
+easily and automatically reverted, similar to @code{pushd} in some Unix
+command shells. It works by creating an object that caches the original
+working directory. When the object is destroyed, the destructor calls
address@hidden to revert to the original working directory. By storing the
+object in a lexical variable with a limited scope, this happens automatically
+at the end of the scope.")
+ (license asl2.0)))
+
(define-public perl-file-list
(package
(name "perl-file-list")
--
2.11.1
- [PATCH 01/26] gnu: Add perl-file-pushd.,
Alex Sassmannshausen <=
- [PATCH 02/26] gnu: Add perl-test-needs., Alex Sassmannshausen, 2017/03/23
- [PATCH 04/26] gnu: perl-capture-tiny: Update to 0.46., Alex Sassmannshausen, 2017/03/23
- [PATCH 03/26] gnu: perl-b-hooks-endofscope: Update to 0.21., Alex Sassmannshausen, 2017/03/23
- [PATCH 06/26] gnu: perl-clone: Update to 0.38., Alex Sassmannshausen, 2017/03/23
- [PATCH 07/26] gnu: perl-common-sense: Update to 3.74., Alex Sassmannshausen, 2017/03/23
- [PATCH 05/26] gnu: perl-class-load: Update to 0.23., Alex Sassmannshausen, 2017/03/23
- [PATCH 09/26] gnu: perl-devel-overloadinfo: Update to 0.004., Alex Sassmannshausen, 2017/03/23
- [PATCH 14/26] gnu: perl-params-validate: Update to 1.26., Alex Sassmannshausen, 2017/03/23
- [PATCH 15/26] gnu: perl-sub-name: Update to 0.21., Alex Sassmannshausen, 2017/03/23
- [PATCH 12/26] gnu: perl-moose: Update to 2.2004., Alex Sassmannshausen, 2017/03/23