all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#54735] gnu: Add python-ajsonrpc.
@ 2022-04-05 19:00 Peter Polidoro
  2022-04-18 21:18 ` bug#54735: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Polidoro @ 2022-04-05 19:00 UTC (permalink / raw)
  To: 54735

[-- 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#54735: gnu: Add python-ajsonrpc.
  2022-04-05 19:00 [bug#54735] gnu: Add python-ajsonrpc Peter Polidoro
@ 2022-04-18 21:18 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-04-18 21:18 UTC (permalink / raw)
  To: Peter Polidoro; +Cc: 54735-done

Hi,

Peter Polidoro <peter@polidoro.io> skribis:

>>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.

Committed as two separate patches (as is customary), with minor tweaks
to the descriptions as per the guidelines at:

  https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html

Thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-18 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-05 19:00 [bug#54735] gnu: Add python-ajsonrpc Peter Polidoro
2022-04-18 21:18 ` bug#54735: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.