[Top][All Lists]

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

05/20: gnu: Add File-ShareDir.

From: Eric Bavier
Subject: 05/20: gnu: Add File-ShareDir.
Date: Wed, 11 Mar 2015 21:08:51 +0000

bavier pushed a commit to branch master
in repository guix.

commit 1e507297e975aac7e7c8e507d37af330d94b0e63
Author: Eric Bavier <address@hidden>
Date:   Tue Mar 10 14:54:38 2015 -0500

    gnu: Add File-ShareDir.
    * gnu/packages/perl.scm (perl-file-sharedir): New variable.
 gnu/packages/perl.scm |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 7dc3105..4fe5f1f 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -868,6 +868,33 @@ provided base directory and can return files (and/or 
directories if desired)
 matching a regular expression.")
     (home-page "";)))
+(define-public perl-file-sharedir
+  (package
+    (name "perl-file-sharedir")
+    (version "1.102")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/R/RE/REHSACK/"
+                           "File-ShareDir-" version ".tar.gz"))
+       (sha256
+        (base32
+         "04blqn4cms9zjmhlfvwyx6mrglaaq1mmy4xwv7xqf9c8fjwk8wvw"))))
+    (build-system perl-build-system)
+    (native-inputs
+     `(("perl-file-sharedir-install" ,perl-file-sharedir-install)))
+    (propagated-inputs
+     `(("perl-class-inspector" ,perl-class-inspector)))
+    (home-page "";)
+    (synopsis "Locate per-dist and per-module shared files")
+    (description "The intent of File::ShareDir is to provide a companion to
+Class::Inspector and File::HomeDir.  Quite often you want or need your Perl
+module to have access to a large amount of read-only data that is stored on
+the file-system at run-time.  Once the files have been installed to the
+correct directory, you can use File::ShareDir to find your files again after
+the installation.")
+    (license (package-license perl))))
 (define-public perl-file-sharedir-install
     (name "perl-file-sharedir-install")

reply via email to

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