[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 01/26] gnu: Add perl-file-pushd.
From: |
Kei Kebreau |
Subject: |
Re: [PATCH 01/26] gnu: Add perl-file-pushd. |
Date: |
Thu, 23 Mar 2017 23:18:22 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Alex Sassmannshausen <address@hidden> writes:
> * 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")
This series of packages builds and lints fine for me. There are over 200
dependent packages that would have to be rebuilt though, and
core-updates is frozen to my knowledge. We can save this for the next
core-updates cycle, though!
Other Guix users, please correct me if I'm wrong.
signature.asc
Description: PGP signature
- [PATCH 19/26] gnu: perl-test-warnings: Update to 0.026., (continued)
- [PATCH 19/26] gnu: perl-test-warnings: Update to 0.026., Alex Sassmannshausen, 2017/03/23
- [PATCH 17/26] gnu: perl-test-exception: Update to 0.43., Alex Sassmannshausen, 2017/03/23
- [PATCH 13/26] gnu: perl-package-deprecationmanager: Update to 0.17., Alex Sassmannshausen, 2017/03/23
- [PATCH 24/26] gnu: perl-cpan-meta-yaml: Update to 0.018., Alex Sassmannshausen, 2017/03/23
- [PATCH 20/26] gnu: perl-time-duration-parse: Update to 0.13., Alex Sassmannshausen, 2017/03/23
- [PATCH 23/26] gnu: perl-cpan-meta-requirements: Update to 2.140., Alex Sassmannshausen, 2017/03/23
- [PATCH 21/26] gnu: perl-variable-magic: Update to 0.61., Alex Sassmannshausen, 2017/03/23
- [PATCH 25/26] gnu: perl-parse-cpan-meta: Update to 2.150010., Alex Sassmannshausen, 2017/03/23
- [PATCH 22/26] gnu: perl-yaml: Update to 1.23., Alex Sassmannshausen, 2017/03/23
- [PATCH 26/26] gnu: perl-scalar-list-utils: Update to 1.47., Alex Sassmannshausen, 2017/03/23
- Re: [PATCH 01/26] gnu: Add perl-file-pushd.,
Kei Kebreau <=