GNU bug report logs -
#41807
[PATCHES] Add python-sanic and dependencies.
Previous Next
Reported by: paul <goodoldpaul <at> autistici.org>
Date: Thu, 11 Jun 2020 15:08:01 UTC
Severity: normal
Tags: patch
Done: Leo Famulari <leo <at> famulari.name>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 41807 <at> debbugs.gnu.org (full text, mbox):
* 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
This bug report was last modified 4 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.