[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/10: gnu: Add python-simpervisor.
From: |
guix-commits |
Subject: |
01/10: gnu: Add python-simpervisor. |
Date: |
Thu, 27 May 2021 09:59:44 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 35311e3b25c161175f983be888606b3b371acad0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 27 15:12:52 2021 +0300
gnu: Add python-simpervisor.
* gnu/packages/python-xyz.scm (python-simpervisor): New variable.
---
gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 770beb0..b10b553 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24900,6 +24900,41 @@ module patches @code{asyncio} to allow nested use of
@code{asyncio.run} and
@code{loop.run_until_complete}.")
(license license:bsd-3)))
+(define-public python-simpervisor
+ (package
+ (name "python-simpervisor")
+ (version "0.4")
+ (source
+ (origin
+ ;; Tests not included in release.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/yuvipanda/simpervisor")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1brsisx7saf4ic0dih1n5y7rbdbwn1ywv9pl32bch3061r46prvv"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ; Test suite can't find aiohttp.
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "pytest" "--maxfail" "3" "--verbose"))
+ #t)))))
+ (native-inputs
+ `(("python-aiohttp" ,python-aiohttp)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-asyncio" ,python-pytest-asyncio)))
+ (home-page "https://github.com/yuvipanda/simpervisor")
+ (synopsis "Simple async process supervisor")
+ (description
+ "This package provides a simple async process supervisor in Python.")
+ (license license:bsd-3)))
+
(define-public python-parallel
(package
(name "python-parallel")
- branch master updated (c7e5007 -> 014421e), guix-commits, 2021/05/27
- 02/10: gnu: Add julia-versionparsing., guix-commits, 2021/05/27
- 04/10: gnu: Add julia-fuzzycompletions., guix-commits, 2021/05/27
- 07/10: gnu: Add julia-dictionaries., guix-commits, 2021/05/27
- 03/10: gnu: Add julia-invertedindices., guix-commits, 2021/05/27
- 05/10: gnu: Add julia-tableiointerface., guix-commits, 2021/05/27
- 01/10: gnu: Add python-simpervisor.,
guix-commits <=
- 06/10: gnu: Add julia-indexing., guix-commits, 2021/05/27
- 08/10: gnu: Add julia-colorschemes., guix-commits, 2021/05/27
- 09/10: gnu: Add julia-plotutils., guix-commits, 2021/05/27
- 10/10: gnu: Add julia-scratch., guix-commits, 2021/05/27