mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: Add Test-MockObject.
* gnu/packages/perl.scm (perl-test-mockobject): New variable.
This commit is contained in:
parent
7332618df3
commit
4dbac597eb
1 changed files with 28 additions and 0 deletions
|
@ -4659,6 +4659,34 @@ (define-public perl-test-longstring
|
|||
you test against long strings.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-test-mockobject
|
||||
(package
|
||||
(name "perl-test-mockobject")
|
||||
(version "1.20140408")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://cpan/authors/id/C/CH/CHROMATIC/"
|
||||
"Test-MockObject-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1anpf9l2wdriwaxw6pf76ghxkh4zm25n3wnhfqy1b439xqnhvzg5"))))
|
||||
(build-system perl-build-system)
|
||||
(native-inputs
|
||||
`(("perl-test-exception" ,perl-test-exception)
|
||||
("perl-test-warn" ,perl-test-warn)))
|
||||
(propagated-inputs
|
||||
`(("perl-test-exception" ,perl-test-exception)
|
||||
("perl-test-warn" ,perl-test-warn)
|
||||
("perl-universal-can" ,perl-universal-can)
|
||||
("perl-universal-isa" ,perl-universal-isa)))
|
||||
(home-page "http://search.cpan.org/dist/Test-MockObject")
|
||||
(synopsis "Emulate troublesome interfaces in Perl")
|
||||
(description "Test::MockObject allows you to create objects that conform
|
||||
to particular interfaces with very little code. You don't have to reimplement
|
||||
the behavior, just the input and the output.")
|
||||
(license (package-license perl))))
|
||||
|
||||
(define-public perl-test-mocktime
|
||||
(package
|
||||
(name "perl-test-mocktime")
|
||||
|
|
Loading…
Reference in a new issue