guix-commits
[Top][All Lists]
Advanced

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

14/40: gnu: Add Test-Without-Module.


From: Eric Bavier
Subject: 14/40: gnu: Add Test-Without-Module.
Date: Thu, 12 Mar 2015 20:56:00 +0000

bavier pushed a commit to branch master
in repository guix.

commit 95aa068e44d585ba84f6b02add0b6b791b135f2e
Author: Eric Bavier <address@hidden>
Date:   Thu Mar 12 11:20:29 2015 -0500

    gnu: Add Test-Without-Module.
    
    * gnu/packages/perl.scm (perl-test-without-module): New variable.
---
 gnu/packages/perl.scm |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 718b259..6776048 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2358,6 +2358,27 @@ hooking into done_testing as well as via an END block.  
You can declare a
 plan, or not, and things will still Just Work.")
     (license (package-license perl))))
 
+(define-public perl-test-without-module
+  (package
+    (name "perl-test-without-module")
+    (version "0.18")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/C/CO/CORION/"
+                           "Test-Without-Module-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0zwc2dk5srd02j4p049w77m89iw5nbff381rmhcbaz8x2w5kdhz2"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Test-Without-Module";)
+    (synopsis "Test fallback behaviour in absence of modules")
+    (description "This module allows you to deliberately hide modules from a
+program even though they are installed.  This is mostly useful for testing
+modules that have a fallback when a certain dependency module is not
+installed.")
+    (license (package-license perl))))
+
 (define-public perl-test-writevariants
   (package
     (name "perl-test-writevariants")



reply via email to

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