guix-commits
[Top][All Lists]
Advanced

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

06/19: gnu: Add perl-cwd-guard.


From: Marius Bakke
Subject: 06/19: gnu: Add perl-cwd-guard.
Date: Thu, 2 Mar 2017 12:39:52 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 3ce3ecd3d7706d04ef25ef41b7a44ed540ca2ae4
Author: Marius Bakke <address@hidden>
Date:   Fri Dec 9 20:46:10 2016 +0100

    gnu: Add perl-cwd-guard.
    
    * gnu/packages/perl.scm (perl-cwd-guard): New variable.
---
 gnu/packages/perl.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index b097c4c..834e38c 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")



reply via email to

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