aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2016-07-28 23:38:32 +0200
committerLeo Famulari <leo@famulari.name>2016-08-08 22:36:39 -0400
commite818f321fddb4197b5eb5186cc3c2a05857d776a (patch)
tree2b04c722a3381674adac4cf4b51d3b1c5cdd798c
parentbe0c57338adb60b323ff0d3c757437e1fa70ca01 (diff)
downloadpatches-e818f321fddb4197b5eb5186cc3c2a05857d776a.tar
patches-e818f321fddb4197b5eb5186cc3c2a05857d776a.tar.gz
gnu: Add perl-io-socket-inet6.
* gnu/packages/networking.scm (perl-io-socket-inet6): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
-rw-r--r--gnu/packages/networking.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 31379411d5..77207c0e8a 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -605,3 +605,33 @@ offline emulation of DNS.")
(description "The Perl module 'Geo::IP'. It looks up location and network
information by IP Address.")
(license (package-license perl))))
+
+(define-public perl-io-socket-inet6
+ (package
+ (name "perl-io-socket-inet6")
+ (version "2.72")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://cpan/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1fqypz6qa5rw2d5y2zq7f49frwra0aln13nhq5gi514j2zx21q45"))))
+ (build-system perl-build-system)
+ (native-inputs
+ `(("perl-module-build" ,perl-module-build)
+ ("perl-test-pod" ,perl-test-pod)
+ ("perl-test-pod-coverage" ,perl-test-pod-coverage)))
+ (inputs `(("perl-socket6" ,perl-socket6)))
+ (arguments `(;; Need network socket API
+ #:tests? #f))
+ (home-page
+ "http://search.cpan.org/dist/IO-Socket-INET6")
+ (synopsis
+ "Perl object interface for AF_INET/AF_INET6 domain sockets")
+ (description "IO::Socket::INET6 is an interface for AF_INET/AF_INET6 domain
+sockets in Perl.")
+ (license (package-license perl))))