[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/57: gnu: Add python-asgiref.
From: |
guix-commits |
Subject: |
04/57: gnu: Add python-asgiref. |
Date: |
Tue, 22 Sep 2020 12:43:30 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit b2eafc7d8d5fe9b6e0b6c18f670a53bd68314fa4
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Aug 31 14:06:26 2020 +0200
gnu: Add python-asgiref.
* gnu/packages/python-web.scm (python-asgiref): New public variable.
---
gnu/packages/python-web.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ef0c0ea..048620a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -223,6 +223,36 @@ The package includes a module with full coverage of JSON
RPC versions 1.0 and
comes with a SOCKS proxy client.")
(license (list license:expat license:bsd-2))))
+(define-public python-asgiref
+ (package
+ (name "python-asgiref")
+ (version "3.2.10")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "asgiref" version))
+ (sha256
+ (base32
+ "06kg3hnnvh7qg0w9amkvk1hd6n6bs055r04b7if6ipa7w4g92lby"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (setenv "PYTHONPATH"
+ (string-append "./build/lib:"
+ (getenv "PYTHONPATH")))
+ (invoke "pytest" "-vv"))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-asyncio" ,python-pytest-asyncio)))
+ (home-page "https://github.com/django/asgiref/")
+ (synopsis "ASGI specs, helper code, and adapters")
+ (description
+ "ASGI is a standard for Python asynchronous web apps and servers to
+communicate with each other, and positioned as an asynchronous successor to
+WSGI. This package includes libraries for implementing ASGI servers.")
+ (license license:bsd-3)))
+
(define-public python-falcon
(package
(name "python-falcon")
- branch master updated (c7011ff -> a2c0dbb), guix-commits, 2020/09/22
- 02/57: gnu: Remove pootle., guix-commits, 2020/09/22
- 01/57: gnu: python-uritemplate: Update to 3.0.1., guix-commits, 2020/09/22
- 04/57: gnu: Add python-asgiref.,
guix-commits <=
- 07/57: gnu: python-pytest-django: Update to 3.10.0., guix-commits, 2020/09/22
- 05/57: gnu: python-django: Update to 3.1.1., guix-commits, 2020/09/22
- 08/57: gnu: python-django-simple-math-captcha: Update to 1.0.9., guix-commits, 2020/09/22
- 09/57: gnu: python-django-classy-tags: Update to 2.0.0., guix-commits, 2020/09/22
- 03/57: gnu: Remove python2-django-mailman3., guix-commits, 2020/09/22
- 14/57: gnu: python-django-filter: Update to 2.3.0., guix-commits, 2020/09/22
- 15/57: gnu: python-django-allauth: Update to 0.42.0., guix-commits, 2020/09/22
- 18/57: gnu: python-django-jinja: Update to 2.6.0., guix-commits, 2020/09/22
- 06/57: gnu: python-django: Propagate python-sqlparse., guix-commits, 2020/09/22
- 11/57: gnu: python-django-taggit: Update to 1.3.0., guix-commits, 2020/09/22