Subject: [PATCH 01/26] gnu: Add python-outcome.

From: Giacomo Leidi <[email-masked]>
Date: Thu, 11 Jun 2020 17:13:32 +0200

* gnu/packages/python-xyz.scm (python-outcome): New variable.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index abf12ec4e0..11630d4818 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20070,3 +20070,31 @@ For the most part it's transliterated from C, the major differences are:
 @end itemize
 ")
     (license license:gpl3+)))
+
+(define-public python-outcome
+  (package
+    (name "python-outcome")
+    (version "1.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "outcome" version))
+        (sha256
+          (base32
+            "0vxn04vspmlkkyijjkjnsc46f93ki8g62hr7ag10zpd7ic324y7w"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-attrs" ,python-attrs)))
+    (native-inputs
+     `(("python-async-generator"
+         ,python-async-generator)
+       ("python-pytest" ,python-pytest)))
+    (home-page
+      "https://github.com/python-trio/outcome")
+    (synopsis
+      "Capture the outcome of Python function calls")
+    (description
+     "@code{python-outcome} provides a function for capturing the
+outcome of a Python function call, so that it can be passed around.")
+    ;; Choice of either license.
+    (license (list license:expat license:asl2.0))))
-- 
2.26.2