gnu: Add Test::Output.
* gnu/packages/perl.scm (perl-test-output): New variable.
This commit is contained in:
		
							parent
							
								
									61593ab3d6
								
							
						
					
					
						commit
						fb0832037f
					
				
					 1 changed files with 25 additions and 0 deletions
				
			
		| 
						 | 
					@ -480,6 +480,31 @@ bin as is also commonly used) paths of your Perl distribution.")
 | 
				
			||||||
                              "Test-Simple-" version))
 | 
					                              "Test-Simple-" version))
 | 
				
			||||||
    (license (package-license perl))))
 | 
					    (license (package-license perl))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public perl-test-output
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (name "perl-test-output")
 | 
				
			||||||
 | 
					    (version "1.03")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method url-fetch)
 | 
				
			||||||
 | 
					              (uri (string-append "mirror://cpan/authors/id/B/BD/BDFOY/"
 | 
				
			||||||
 | 
					                                  "Test-Output-" version ".tar.gz"))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "12991jnzj4cbw9whhprmqvnzd1ayii84g2mh8vxbjngwqrjsy41i"))))
 | 
				
			||||||
 | 
					    (build-system perl-build-system)
 | 
				
			||||||
 | 
					    (propagated-inputs
 | 
				
			||||||
 | 
					     `(("perl-capture-tiny" ,perl-capture-tiny)
 | 
				
			||||||
 | 
					       ("perl-test-tester" ,perl-test-tester)
 | 
				
			||||||
 | 
					       ("perl-sub-exporter" ,perl-sub-exporter)))
 | 
				
			||||||
 | 
					    (synopsis "Utilities to test STDOUT and STDERR messages")
 | 
				
			||||||
 | 
					    (description
 | 
				
			||||||
 | 
					     "Test::Output provides a simple interface for testing output sent to
 | 
				
			||||||
 | 
					STDOUT or STDERR.  A number of different utilities are included to try and be
 | 
				
			||||||
 | 
					as flexible as possible to the tester.")
 | 
				
			||||||
 | 
					    (home-page (string-append "http://search.cpan.org/~bdfoy/"
 | 
				
			||||||
 | 
					                              "Test-Output-" version))
 | 
				
			||||||
 | 
					    (license (package-license perl))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public perl-test-tester
 | 
					(define-public perl-test-tester
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "perl-test-tester")
 | 
					    (name "perl-test-tester")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue