aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/perl.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2015-12-22 14:30:27 +0100
committerRicardo Wurmus <rekado@elephly.net>2015-12-24 10:10:39 +0100
commitfc2448bf89c98cd42ee6b5c71d7513568000977b (patch)
tree451b0b791399f834f9ca36c7709029bd832bffe2 /gnu/packages/perl.scm
parentc47b85de0c76fffd5ff6bff0914a371b4679f04a (diff)
downloadguix-fc2448bf89c98cd42ee6b5c71d7513568000977b.tar
guix-fc2448bf89c98cd42ee6b5c71d7513568000977b.tar.gz
gnu: Add Log::Report::Optional.
* gnu/packages/perl.scm (perl-log-report-optional): New variable.
Diffstat (limited to 'gnu/packages/perl.scm')
-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 2f63630b94..a5175ece35 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2770,6 +2770,31 @@ either uses the first module it finds or throws an error.")
versa.")
(license (package-license perl))))
+(define-public perl-log-report-optional
+ (package
+ (name "perl-log-report-optional")
+ (version "1.01")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/M/MA/MARKOV/"
+ "Log-Report-Optional-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1f4yi4dgzqjc79vrh4f2phdj57xxgk8hd2psx77214i4m5av408f"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-string-print" ,perl-string-print)))
+ (home-page "http://search.cpan.org/dist/Log-Report-Optional")
+ (synopsis "Log::Report in the lightest form")
+ (description
+ "This module allows libraries to have a dependency to a small module
+instead of the full Log-Report distribution. The full power of
+@code{Log::Report} is only released when the main program uses that module.
+In that case, the module using the 'Optional' will also use the full
+@code{Log::Report}, otherwise the dressed-down @code{Log::Report::Minimal}
+version.")
+ (license (package-license perl))))
+
(define-public perl-list-allutils
(package
(name "perl-list-allutils")