gnu: Add Test-Without-Module.
* gnu/packages/perl.scm (perl-test-without-module): New variable.
This commit is contained in:
		
							parent
							
								
									1c48820ed6
								
							
						
					
					
						commit
						95aa068e44
					
				
					 1 changed files with 21 additions and 0 deletions
				
			
		| 
						 | 
					@ -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.")
 | 
					plan, or not, and things will still Just Work.")
 | 
				
			||||||
    (license (package-license perl))))
 | 
					    (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
 | 
					(define-public perl-test-writevariants
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "perl-test-writevariants")
 | 
					    (name "perl-test-writevariants")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue