aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-11 13:39:00 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-11 15:48:06 -0500
commitbb8bfe5ec8c642133afb493a2bf907f4146d3f0a (patch)
tree90bee40135911f61d6997d5d1542980a8b2b55da /gnu/packages/web.scm
parent786ccb71cce8ccc2a77e5b2b0622070485ed7b57 (diff)
downloadgnu-guix-bb8bfe5ec8c642133afb493a2bf907f4146d3f0a.tar
gnu-guix-bb8bfe5ec8c642133afb493a2bf907f4146d3f0a.tar.gz
gnu: Add Test-TCP.
* gnu/packages/web.scm (perl-test-tcp): New variable.
Diffstat (limited to 'gnu/packages/web.scm')
-rw-r--r--gnu/packages/web.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 6a703cdf51..92ef27f72c 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -949,6 +949,27 @@ is described in RFC 2616. The Net::HTTP class supports HTTP/1.0 and
HTTP/1.1.")
(home-page "http://search.cpan.org/~gaas/Net-HTTP/")))
+(define-public perl-test-tcp
+ (package
+ (name "perl-test-tcp")
+ (version "2.06")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
+ "Test-TCP-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0acjwm21y2an4f3fasci9qa0isakh9cgp74fk0bzcdi506xmcjbi"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-test-sharedfork" ,perl-test-sharedfork)))
+ (arguments `(#:tests? #f)) ;related to signaling in t/05_sigint.t
+ (home-page "http://search.cpan.org/dist/Test-TCP")
+ (synopsis "Testing TCP programs")
+ (description "Test::TCP is test utilities for TCP/IP programs.")
+ (license (package-license perl))))
+
(define-public perl-uri
(package
(name "perl-uri")