guix-commits
[Top][All Lists]
Advanced

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

04/16: gnu: Add Log::Report::Optional.


From: Ricardo Wurmus
Subject: 04/16: gnu: Add Log::Report::Optional.
Date: Thu, 24 Dec 2015 09:11:13 +0000

rekado pushed a commit to branch master
in repository guix.

commit fc2448bf89c98cd42ee6b5c71d7513568000977b
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Dec 22 14:30:27 2015 +0100

    gnu: Add Log::Report::Optional.
    
    * gnu/packages/perl.scm (perl-log-report-optional): New variable.
---
 gnu/packages/perl.scm |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 2f63630..a5175ec 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
address@hidden::Report} is only released when the main program uses that module.
+In that case, the module using the 'Optional' will also use the full
address@hidden::Report}, otherwise the dressed-down @code{Log::Report::Minimal}
+version.")
+    (license (package-license perl))))
+
 (define-public perl-list-allutils
   (package
     (name "perl-list-allutils")



reply via email to

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