[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41807] [PATCH 05/26] gnu: Add python-sniffio.
From: |
Giacomo Leidi |
Subject: |
[bug#41807] [PATCH 05/26] gnu: Add python-sniffio. |
Date: |
Thu, 11 Jun 2020 17:13:36 +0200 |
* gnu/packages/python-xyz.scm: (python-sniffio): New variable.
---
gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ea6b68580f..d671c66e9d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20167,3 +20167,30 @@ small mappings.")
systems programming. It provides standard programming abstractions such
as tasks, sockets, files, locks, and queues.")
(license license:bsd-3)))
+
+(define-public python-sniffio
+ (package
+ (name "python-sniffio")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sniffio" version))
+ (sha256
+ (base32
+ "08bsp2pp2dxzn9yzcafwzw8jlm0jf50as0ix8vfhxzk91w810f4f"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-contextvars" ,python-contextvars)
+ ("python-curio" ,python-curio)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page
+ "https://github.com/python-trio/sniffio")
+ (synopsis
+ "Detects which async library some code is running under")
+ (description
+ "@code{python-sniffio} enables detection of the async library any Python
+async function is running under.")
+ ;; Choice of either license.
+ (license (list license:expat license:asl2.0))))
--
2.26.2
- [bug#41807] [PATCH 07/26] gnu: Add python-trio., (continued)
- [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
- [bug#41807] [PATCH 12/26] gnu: Add python-hyperframe., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 05/26] gnu: Add python-sniffio.,
Giacomo Leidi <=
- [bug#41807] [PATCH 09/26] gnu: Add python-aiofiles., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 14/26] gnu: Add python-hstspreload., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 16/26] gnu: Add python-flake8-pyi., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 17/26] gnu: Add python-typing-inspect., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 19/26] gnu: Add python-pyre-extensions., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 02/26] gnu: Add python-immutables., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 11/26] gnu: Add python-hpack., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 22/26] gnu: Add python-libcst., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 23/26] gnu: Add python-pywatchman., Giacomo Leidi, 2020/06/11
- [bug#41807] [PATCH 25/26] gnu: Add python-uvloop., Giacomo Leidi, 2020/06/11