aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-20 14:16:22 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-20 14:22:37 -0500
commitfda45480aba98516d7f4b1c3819b0cab81324853 (patch)
treef7f3c1479404774c7778a3609b532af2e655df04 /gnu/packages
parentff31136edaf9565a6fcbba64b2d3b41267a108e7 (diff)
downloadgnu-guix-fda45480aba98516d7f4b1c3819b0cab81324853.tar
gnu-guix-fda45480aba98516d7f4b1c3819b0cab81324853.tar.gz
gnu: Add Module-Install.
* gnu/packages/perl.scm (perl-module-install): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/perl.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index e2393f2729..9d41d88d26 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2090,6 +2090,44 @@ implementation for a given OS or any other case of needing to provide multiple
implementations.")
(license artistic2.0)))
+(define-public perl-module-install
+ (package
+ (name "perl-module-install")
+ (version "1.14")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/B/BI/BINGOS/"
+ "Module-Install-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0j8dz87k60i1khd9xadd8kl6bgm9s5s5zl86rzsz5bq36siz00iz"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-yaml-tiny" ,perl-yaml-tiny)))
+ (propagated-inputs
+ `(("perl-archive-zip" ,perl-archive-zip)
+ ("perl-file-homedir" ,perl-file-homedir)
+ ("perl-file-remove" ,perl-file-remove)
+ ("perl-json" ,perl-json)
+ ;; The LWP::Simple and LWP::UserAgent modules are recommended, but
+ ;; would cause a circular dependency with (gnu packages web), so we
+ ;; leave it out. It may be resolved at runtime, however.
+ ;("perl-libwww-perl" ,perl-libwww-perl)
+ ("perl-module-scandeps" ,perl-module-scandeps)
+ ("perl-par-dist" ,perl-par-dist)
+ ("perl-yaml-tiny" ,perl-yaml-tiny)))
+ ;; TODO: One test requires Test::More >= 0.99, another fails with unicode
+ ;; character handling.
+ (arguments `(#:tests? #f))
+ (home-page "http://search.cpan.org/dist/Module-Install")
+ (synopsis "Standalone, extensible Perl module installer")
+ (description "Module::Install is a package for writing installers for
+CPAN (or CPAN-like) distributions that are clean, simple, minimalist, act in a
+strictly correct manner with ExtUtils::MakeMaker, and will run on any Perl
+installation version 5.005 or newer.")
+ (license (package-license perl))))
+
(define-public perl-module-runtime
(package
(name "perl-module-runtime")