aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2016-12-09 20:46:10 +0100
committerMarius Bakke <mbakke@fastmail.com>2017-03-02 18:39:15 +0100
commit3ce3ecd3d7706d04ef25ef41b7a44ed540ca2ae4 (patch)
tree6e815c7e201de376078b8fdc62d1e4f8e57ff65b /gnu
parentc1adb4ebd6d702712c6d4ccd353b09bbcc15707c (diff)
downloadpatches-3ce3ecd3d7706d04ef25ef41b7a44ed540ca2ae4.tar
patches-3ce3ecd3d7706d04ef25ef41b7a44ed540ca2ae4.tar.gz
gnu: Add perl-cwd-guard.
* gnu/packages/perl.scm (perl-cwd-guard): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/perl.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index b097c4c630..834e38ce09 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -1343,6 +1343,28 @@ contained in Appendix A of FIPS Publication 181, \"Standard for Automated
Password Generator\".")
(license (package-license perl))))
+(define-public perl-cwd-guard
+ (package
+ (name "perl-cwd-guard")
+ (version "0.05")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/K/KA/KAZEBURO/"
+ "Cwd-Guard-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0xwf4rmii55k3lp19mpbh00mbgby7rxdk2lk84148bjhp6i7rz3s"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-module-build" ,perl-module-build)
+ ("perl-test-requires" ,perl-test-requires)))
+ (home-page "http://search.cpan.org/dist/Cwd-Guard")
+ (synopsis "Temporarily change working directory")
+ (description
+ "@code{Cwd::Guard} changes the current directory using a limited scope.
+It returns to the previous working directory when the object is destroyed.")
+ (license (package-license perl))))
+
(define-public perl-czplib
(package
(name "perl-czplib")