[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/17: gnu: Add python-readchar.
From: |
guix-commits |
Subject: |
05/17: gnu: Add python-readchar. |
Date: |
Wed, 10 May 2023 12:23:47 -0400 (EDT) |
rekado pushed a commit to branch wip-pytorch-lightning
in repository guix.
commit f9153b507bde948f2eee0a231c9eb5460495298d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 10 15:18:47 2023 +0200
gnu: Add python-readchar.
* gnu/packages/machine-learning.scm (python-readchar): New variable.
---
gnu/packages/machine-learning.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index a3880247a7..40f399495f 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -3465,6 +3465,32 @@ AI services.")
Actions for the Lightning suite of libraries.")
(license license:asl2.0)))
+(define-public python-readchar
+ (package
+ (name "python-readchar")
+ (version "4.0.5")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "readchar" version))
+ (sha256
+ (base32
+ "09n8vl2jjbnbnrzfvkynijrnwrqvc91bb2267zg8r261sz15d908"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ ;; This one file requires the msvcrt module, which we don't have.
+ (add-after 'unpack 'delete-windows-file
+ (lambda _
+ (delete-file "readchar/_win_read.py"))))))
+ (propagated-inputs (list python-setuptools))
+ (home-page "https://github.com/magmax/python-readchar")
+ (synopsis "Library to easily read single chars and key strokes")
+ (description "This package provides a Python library to easily read single
+characters and key strokes.")
+ (license license:expat)))
+
(define-public python-torchmetrics
(package
(name "python-torchmetrics")
- 02/17: gnu: python-pillow-simd: Update to 9.2.0., (continued)
- 02/17: gnu: python-pillow-simd: Update to 9.2.0., guix-commits, 2023/05/10
- 01/17: gnu: python-blessed: Update to 1.20.0., guix-commits, 2023/05/10
- 08/17: gnu: Add python-fastapi-for-pytorch-lightning., guix-commits, 2023/05/10
- 07/17: gnu: Add python-starlette-for-fastapi-0.88., guix-commits, 2023/05/10
- 09/17: gnu: Add python-types-urllib3., guix-commits, 2023/05/10
- 13/17: gnu: Add python-typeshed-client., guix-commits, 2023/05/10
- 04/17: gnu: python-scikit-optimize: Fix build with newer numpy and sklearn., guix-commits, 2023/05/10
- 06/17: gnu: Add python-inquirer., guix-commits, 2023/05/10
- 12/17: gnu: python-torchvision: Update to 0.15.2., guix-commits, 2023/05/10
- 03/17: gnu: Add python-dateutils., guix-commits, 2023/05/10
- 05/17: gnu: Add python-readchar.,
guix-commits <=
- 11/17: gnu: python-arrow: Update to 1.2.3., guix-commits, 2023/05/10
- 10/17: gnu: Add python-types-requests., guix-commits, 2023/05/10
- 16/17: gnu: Add python-jsonargparse., guix-commits, 2023/05/10
- 17/17: gnu: Add python-pytorch-lightning., guix-commits, 2023/05/10
- 14/17: gnu: Add python-starsessions-for-pytorch-lightning., guix-commits, 2023/05/10
- 15/17: gnu: Add python-docstring-parser., guix-commits, 2023/05/10