summary refs log tree commit diff
path: root/gnu/packages/web.scm
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-12 13:15:50 -0500
committerEric Bavier <bavier@member.fsf.org>2015-03-12 15:55:58 -0500
commit36a100a1d667381d2b151e0a140cc8b9ee516f41 (patch)
tree8326f0953404048344bcd23315e1ebbbe071c205 /gnu/packages/web.scm
parent7ffa58b3042dbe75de82483bbc9947474e308ff1 (diff)
downloadguix-36a100a1d667381d2b151e0a140cc8b9ee516f41.tar.gz
gnu: Add URI-ws.
* gnu/packages/web.scm (perl-uri-ws): 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 aecdd21950..6f8f25c36e 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -1255,6 +1255,27 @@ represent \"Uniform Resource Identifier references\" as specified in RFC 2396
 and updated by RFC 2732.")
     (home-page "http://search.cpan.org/dist/URI/")))
 
+(define-public perl-uri-ws
+  (package
+    (name "perl-uri-ws")
+    (version "0.03")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/P/PL/PLICEASE/"
+                           "URI-ws-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1vs1wm80sq685944g1l4a0fxcbccc00c0f9648yabdmcf90hwsvf"))))
+    (build-system perl-build-system)
+    (propagated-inputs
+     `(("perl-uri" ,perl-uri)))
+    (home-page "http://search.cpan.org/dist/URI-ws")
+    (synopsis "WebSocket support for URI package")
+    (description "With this module, the URI package provides the same set of
+methods for WebSocket URIs as it does for HTTP URIs.")
+    (license (package-license perl))))
+
 (define-public perl-www-curl
   (package
     (name "perl-www-curl")