gnu: Add python-ajsonrpc.

* gnu/packages/python-web.scm (python-ajsonrpc): New variable.
This commit is contained in:
Peter Polidoro 2022-04-18 23:17:11 +02:00 committed by Ludovic Courtès
parent 2aa5329023
commit fc2d94a3f9
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -6444,3 +6444,25 @@ (define-public python-quart
"This package provides a Python ASGI web microframework with the same API
as Flask.")
(license license:expat)))
(define-public python-ajsonrpc
(package
(name "python-ajsonrpc")
(version "1.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ajsonrpc" version))
(sha256
(base32 "17x1a4r4l428mhwn53abki9gzdzq3halyr4lj48fw3dzy0caq6vr"))))
(build-system python-build-system)
(propagated-inputs
(list python-quart
python-sanic
python-tornado))
(home-page "https://github.com/pavlov99/ajsonrpc")
(synopsis "Async JSON-RPC 2.0 protocol and server")
(description
"This package provides a Python JSON-RPC 2.0 protocol and server powered
by asyncio.")
(license license:expat)))