From: Peter Polidoro <peter@polidoro.io>
To: 54735@debbugs.gnu.org
Subject: [bug#54735] gnu: Add python-ajsonrpc.
Date: Tue, 05 Apr 2022 15:00:26 -0400 [thread overview]
Message-ID: <86pmlvwe0c.fsf@polidoro.io> (raw)
[-- Attachment #1: 0001-gnu-Add-python-ajsonrpc.patch --]
[-- Type: text/x-diff, Size: 2688 bytes --]
From 67805b99176ddac138046dbf0f6ebac0c2dbf866 Mon Sep 17 00:00:00 2001
From: Peter Polidoro <peter@polidoro.io>
Date: Tue, 5 Apr 2022 14:57:16 -0400
Subject: [PATCH] gnu: Add python-ajsonrpc.
* gnu/packages/python-web.scm (python-ajsonrpc): New variable.
---
gnu/packages/python-web.scm | 50 +++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 41e0d1c3d6..432ff6a97a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -49,6 +49,7 @@
;;; Copyright © 2021 Alice Brenon <alice.brenon@ens-lyon.fr>
;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -6387,3 +6388,52 @@ (define-public python-tweepy
(description "This package provides @code{Tweepy}, an easy-to-use Python
library for accessing the Twitter API.")
(license license:expat)))
+
+(define-public python-quart
+ (package
+ (name "python-quart")
+ (version "0.17.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "Quart" version))
+ (sha256
+ (base32 "0h4n2dwzmqifya1razp9s7ppr4ra23ljac9v7sl039rzp3c17wic"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ (list hypercorn
+ python-aiofiles
+ python-blinker
+ python-click
+ python-itsdangerous
+ python-jinja2
+ python-markupsafe
+ python-toml
+ python-werkzeug))
+ (home-page "https://gitlab.com/pgjones/quart/")
+ (synopsis "Python ASGI web microframework with the same API as Flask")
+ (description
+ "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 + server powered by asyncio")
+ (description "Async JSON-RPC 2.0 protocol + server powered by asyncio")
+ (license license:expat)))
--
2.35.1
next reply other threads:[~2022-04-05 19:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-05 19:00 Peter Polidoro [this message]
2022-04-18 21:18 ` bug#54735: gnu: Add python-ajsonrpc Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86pmlvwe0c.fsf@polidoro.io \
--to=peter@polidoro.io \
--cc=54735@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).