[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41807] [PATCH 03/26] gnu: Add python-contextvars.
From: |
Giacomo Leidi |
Subject: |
[bug#41807] [PATCH 03/26] gnu: Add python-contextvars. |
Date: |
Thu, 11 Jun 2020 17:13:34 +0200 |
* gnu/packages/python-xyz.scm (python-contextvars): New variable.
---
gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 106a6802bd..03d30b9d15 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20124,3 +20124,24 @@ Immutable mappings based on HAMT have O(log N)
performance for both @code{set()}
and @code{get()} operations, which is essentially O(1) for relatively
small mappings.")
(license license:asl2.0)))
+
+(define-public python-contextvars
+ (package
+ (name "python-contextvars")
+ (version "2.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "contextvars" version))
+ (sha256
+ (base32
+ "17n3w8c20kgkgc6khaafdhhlcdj4bzman4paxqsl7harma59137k"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-immutables" ,python-immutables)))
+ (home-page
+ "https://github.com/MagicStack/contextvars")
+ (synopsis "PEP 567 Backport")
+ (description "This package implements a backport of Python 3.7
+@code{contextvars} module (see PEP 567) for Python 3.6.")
+ (license license:asl2.0)))
--
2.26.2
- [bug#41807] [PATCHES] Add python-sanic and dependencies., paul, 2020/06/11
- [bug#41807] [PATCH 01/26] gnu: Add python-outcome., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 03/26] gnu: Add python-contextvars.,
Giacomo Leidi <=
- [bug#41807] [PATCH 06/26] gnu: Add python-trustme., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 07/26] gnu: Add python-trio., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 08/26] gnu: Add python-httptools., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 13/26] gnu: Add python-h2., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 15/26] gnu: Add python-mypy-extensions., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 18/26] gnu: python-typing-extensions: Update to 3.7.4.2., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 10/26] gnu: Add python-h11., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 20/26] gnu: Add python-nbsphinx., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 21/26] gnu: Add python-dataclasses., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 04/26] gnu: Add python-curio., Giacomo Leidi, 2020/06/11