mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
Merge branch 'master' into staging
This commit is contained in:
commit
081850816f
197 changed files with 7452 additions and 3094 deletions
|
@ -8,7 +8,7 @@
|
|||
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
|
||||
;;; Copyright © 2016, 2017 Julien Lepiller <julien@lepiller.eu>
|
||||
;;; Copyright © 2016, 2017 Nils Gillmann <ng0@n0.is>
|
||||
;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
|
||||
;;; Copyright © 2014, 2017 Eric Bavier <bavier@member.fsf.org>
|
||||
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2015 Cyril Roelandt <tipecaml@gmail.com>
|
||||
|
@ -3030,3 +3030,66 @@ applications using Publish and Subscribe (PubSub) and routed Remote Procedure
|
|||
Calls (rRPC). It is ideal for distributed, multi-client and server applications
|
||||
such as IoT applications or multi-user database-driven business applications.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-ws4py
|
||||
(package
|
||||
(name "python-ws4py")
|
||||
(version "0.5.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "ws4py" version))
|
||||
(sha256
|
||||
(base32
|
||||
"10slbbf2jm4hpr92jx7kh7mhf48sjl01v2w4d8z3f1p0ybbp7l19"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'python3.7-compatibility
|
||||
(lambda _
|
||||
(substitute* '("ws4py/server/tulipserver.py"
|
||||
"ws4py/async_websocket.py")
|
||||
(("asyncio.async")
|
||||
"asyncio.ensure_future"))
|
||||
#t))
|
||||
;; We don't have a package for cherrypy.
|
||||
(add-after 'unpack 'remove-cherrypy-support
|
||||
(lambda _
|
||||
(delete-file "ws4py/server/cherrypyserver.py")
|
||||
#t)))))
|
||||
(propagated-inputs
|
||||
`(("python-gevent" ,python-gevent)
|
||||
("python-tornado" ,python-tornado)))
|
||||
(home-page "https://github.com/Lawouach/WebSocket-for-Python")
|
||||
(synopsis "WebSocket client and server library")
|
||||
(description
|
||||
"This package provides a WebSocket client and server library for
|
||||
Python.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
;; kaldi-gstreamer-server does not yet work with python-ws4py > 0.3.2
|
||||
(define-public python2-ws4py-for-kaldi-gstreamer-server
|
||||
(package (inherit python-ws4py)
|
||||
(name "python2-ws4py")
|
||||
(version "0.3.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "ws4py" version))
|
||||
(sha256
|
||||
(base32
|
||||
"12ys3dv98awhrxd570vla3hqgzq3avjhq4yafhghhq3a942y1928"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:python ,python-2
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; We don't have a package for cherrypy.
|
||||
(add-after 'unpack 'remove-cherrypy-support
|
||||
(lambda _
|
||||
(delete-file "ws4py/server/cherrypyserver.py")
|
||||
#t)))))
|
||||
(propagated-inputs
|
||||
`(("python-gevent" ,python2-gevent)
|
||||
("python-tornado" ,python2-tornado)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue