diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-30 17:50:03 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-04 21:49:58 +0000 |
| commit | 4f9b0148c4f8bc3672b5dd01e286d5deb6db065a (patch) | |
| tree | 4a45979be04e96724787d83f07e62805f8b3fe3a | |
| parent | 77e79b0ea9ef65b563d555611950f8d666e2207a (diff) | |
gnu: python-gwebsockets: Switch to pyproject.
* gnu/packages/python-web.scm (python-gwebsockets):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[description]: Improve style.
Change-Id: Ia8f508da951a504566d0b271ffd5622956ad7f1e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
| -rw-r--r-- | gnu/packages/python-web.scm | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index b379461db0a..81fef34d22f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7469,20 +7469,25 @@ with @code{Gevent} to make asynchronous HTTP Requests easily.") (package (name "python-gwebsockets") (version "0.7") - (source (origin - (method url-fetch) - (uri (pypi-uri "gwebsockets" version)) - (sha256 - (base32 - "0kgq7wssz0mrhxdafkfc9prj0qjv9z0lyivyqvjvjnnypg54di7m")))) - (build-system python-build-system) - (propagated-inputs - (list python-pygobject)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sugarlabs/gwebsockets") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0w422yz0qdix5xb6aqrrci1s1hy4whncspwb03m9ankqww0s1yv2")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ; No tests upstream. + (native-inputs (list python-setuptools)) + (propagated-inputs (list python-pygobject)) (home-page "https://github.com/sugarlabs/gwebsockets") (synopsis "GLib based websockets server") - (description "This package provides a websocket server written in Python. -It uses GIO for network communication and hence it easily integrates with the -GLib mainloop.") + (description + "This package provides a websocket server written in Python. It uses GIO +for network communication and hence it easily integrates with the GLib +mainloop.") (license license:asl2.0))) (define-public python-dpkt |
