GNU bug report logs - #41203
[PATCH] gnu: Add python-websockets

Previous Next

Package: guix-patches;

Reported by: Edouard Klein <edk <at> beaver-labs.com>

Date: Tue, 12 May 2020 09:47:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#41203: closed ([PATCH] gnu: Add python-websockets)
Date: Wed, 13 May 2020 06:49:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 13 May 2020 09:48:18 +0300
with message-id <20200513064818.GC918 <at> E5400>
and subject line Re: [bug#41203] [PATCH] gnu: Add python-websockets
has caused the debbugs.gnu.org bug report #41203,
regarding [PATCH] gnu: Add python-websockets
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
41203: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41203
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Edouard Klein <edk <at> beaver-labs.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add python-websockets
Date: Tue, 12 May 2020 10:46:30 +0200
---
 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 6d48b0146a..9be92053b1 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -36,6 +36,7 @@
 ;;; Copyright © 2020 Alexandros Theodotou <alex <at> zrythm.org>
 ;;; Copyright © 2020 Holger Peters <holger.peters <at> posteo.de>
 ;;; Copyright © 2020 Noisytoot <noisytoot <at> gmail.com>
+;;; Copyright © 2020 Edouard Klein <edk <at> beaver-labs.com>
 ;;;
 ;;; 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)
+    (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)))
-- 
2.26.2


[Message part 3 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: Edouard Klein <edk <at> beaver-labs.com>
Cc: 41203-done <at> debbugs.gnu.org
Subject: Re: [bug#41203] [PATCH] gnu: Add python-websockets
Date: Wed, 13 May 2020 09:48:18 +0300
[Message part 4 (text/plain, inline)]
I disabled the tests since they're not shipped in the release tarball
and changed the commit message to fit the conventions better.

Patch pushed. Thanks!


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.