aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 16:53:22 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:29 -0600
commit4ee88d69dd70e913d65cbced7ed64409b0953df8 (patch)
treec12404b8a03d533738aea5d50dc2a7206370546b
parent29b6ca73e17099a7172a6e8048a9fd7174dd1d09 (diff)
downloadguix-4ee88d69dd70e913d65cbced7ed64409b0953df8.tar
guix-4ee88d69dd70e913d65cbced7ed64409b0953df8.tar.gz
gnu: Add File-HomeDir.
* gnu/packages/perl.scm (perl-file-homedir): New variable.
-rw-r--r--gnu/packages/perl.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 24ecad503d..b6327fd0c3 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -731,6 +731,31 @@ types Perl-related files, or replicating search queries run on a distribution
in various parts of the CPAN ecosystem.")
(license (package-license perl))))
+(define-public perl-file-homedir
+ (package
+ (name "perl-file-homedir")
+ (version "1.00")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
+ "File-HomeDir-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0hvihydd0y4gdxafi8dpybk9ll8q35bz5ycibfic0gh92cslzfc5"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-file-which" ,perl-file-which)
+ ("perl-file-temp" ,perl-file-temp)))
+ (arguments `(#:tests? #f)) ;Not appropriate for chroot
+ (home-page "http://search.cpan.org/dist/File-HomeDir")
+ (synopsis "Find your home and other directories on any platform")
+ (description "File::HomeDir is a module for locating the directories that
+are \"owned\" by a user (typicaly your user) and to solve the various issues
+that arise trying to find them consistently across a wide variety of
+platforms.")
+ (license (package-license perl))))
+
(define-public perl-file-list
(package
(name "perl-file-list")