guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add python-websockets.


From: guix-commits
Subject: branch master updated: gnu: Add python-websockets.
Date: Wed, 13 May 2020 02:48:32 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new e91c0cd  gnu: Add python-websockets.
e91c0cd is described below

commit e91c0cd88b556d272ca52c5247ac4af632e1a7cd
Author: Edouard Klein <address@hidden>
AuthorDate: Tue May 12 10:46:30 2020 +0200

    gnu: Add python-websockets.
    
    * gnu/packages/python-web.scm (python-websockets): New variable.
    
    Signed-off-by: Efraim Flashner <address@hidden>
---
 gnu/packages/python-web.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6221c77..88ba88e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -36,6 +36,7 @@
 ;;; Copyright © 2020 Alexandros Theodotou <address@hidden>
 ;;; Copyright © 2020 Holger Peters <address@hidden>
 ;;; Copyright © 2020 Noisytoot <address@hidden>
+;;; Copyright © 2020 Edouard Klein <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3721,3 +3722,27 @@ and serve updated contents upon changes to the 
directory.")
     (description "@code{VF-1} is a command line gopher client with
 @acronym{TLS, Transport Layer Security} support.")
     (license license:bsd-2)))
+
+(define-public python-websockets
+  (package
+    (name "python-websockets")
+    (version "8.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "websockets" version))
+        (sha256
+         (base32
+          "03s3ml6sbki24aajllf8aily0xzrn929zxi84p50zkkbikdd4raw"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #f))  ; Tests not included in release tarball.
+    (home-page "https://github.com/aaugustin/websockets";)
+    (synopsis
+     "Python implementation of the WebSocket Protocol (RFC 6455 & 7692)")
+    (description
+     "@code{websockets} is a library for building WebSocket servers and clients
+in Python with a focus on correctness and simplicity.
+
+Built on top of @code{asyncio}, Python's standard asynchronous I/O framework,
+it provides an elegant coroutine-based API.")
+    (license license:bsd-3)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]