From 8071877fa782c9e2cfcd8276f602d948c49203f7 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Mon, 8 Jun 2020 23:57:19 +0200 Subject: gnu: Add python-contextvars. * gnu/packages/python-xyz.scm (python-contextvars): New variable. Signed-off-by: Leo Famulari --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 53f4f83f14..d84867e90a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23223,3 +23223,24 @@ process.") "Gamera is a toolkit for building document image recognition systems.") (home-page "https://gamera.informatik.hsnr.de/") (license license:gpl2+))) + +(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))) -- cgit v1.2.3