[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add websockify.
From: |
Marius Bakke |
Subject: |
01/01: gnu: Add websockify. |
Date: |
Tue, 7 Nov 2017 15:59:43 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit a67f0946717420f264646556812cbd0d197bb360
Author: Rutger Helling <address@hidden>
Date: Mon Nov 6 10:32:05 2017 +0100
gnu: Add websockify.
* gnu/packages/web.scm (websockify): New variable.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/web.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 070d0db..8d3c343 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -22,6 +22,7 @@
;;; Copyright © 2017 Kei Kebreau <address@hidden>
;;; Copyright © 2017 Petter <address@hidden>
;;; Copyright © 2017 Pierre Langlois <address@hidden>
+;;; Copyright © 2017 Rutger Helling <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -86,6 +87,7 @@
#:use-module (gnu packages lua)
#:use-module (gnu packages markup)
#:use-module (gnu packages ncurses)
+ #:use-module (gnu packages openstack)
#:use-module (gnu packages base)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
@@ -871,6 +873,35 @@ server). It was primarily designed to be used by one
person or a small group
of people.")
(license l:expat)))
+(define-public websockify
+ (package
+ (name "websockify")
+ (version "0.8.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/novnc/websockify/archive/v"
+ version "/archive.tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1kjq6gibsvbb6zx5gi8hgh7110x62pbwcqkwapf3k7s27w5y907h"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f)) ; FIXME: 2 out of 6 tests fail with "ImportError: No
module
+ ; named 'stubout'". The tests can be run by replacing the check phase with
+ ; the command "python setup.py nosetests --verbosity=3".
+ (native-inputs `(; Required for tests:
+ ("python-mox3", python-mox3)
+ ("python-nose", python-nose)))
+ (propagated-inputs `(("python-numpy", python-numpy)))
+ (home-page "https://github.com/novnc/websockify")
+ (synopsis "WebSockets support for any application/server")
+ (description "Websockify translates WebSockets traffic to normal socket
+traffic. Websockify accepts the WebSockets handshake, parses it, and then
+begins forwarding traffic between the client and the target in both
+directions.")
+ (license l:lgpl3)))
+
(define-public wwwoffle
(package
(name "wwwoffle")