diff mbox

[v3,16/16] gnu: Add perl-io-socket-inet6

Message ID 20160728130740.2eea01a4@scratchpost.org
State New
Headers show

Commit Message

Danny Milosavljevic July 28, 2016, 11:07 a.m. UTC
gnu: Add perl-io-socket-inet6.

* gnu/packages/networking.scm (perl-io-socket-inet6): New variable.
---
 gnu/packages/networking.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
diff mbox

Patch

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 9e6d1b5..9f010ba 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -610,3 +610,36 @@  offline emulation of DNS.")
     "Perl extension for merging IPv4 or IPv6 CIDR addresses")
   (description "Net::CIDR::Lite merges IPv4 or IPv6 CIDR addresses.")
   (license license:gpl1+)))
+
+(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)
+      ;; this doesn't actually work if we do add it.
+      #| ("perl-test-trailingspace" ,perl-test-trailingspace) |#))
+  (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))))
+