mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add python-readchar.
* gnu/packages/machine-learning.scm (python-readchar): New variable.
This commit is contained in:
parent
96c51a9dbf
commit
9220dee755
1 changed files with 26 additions and 0 deletions
|
@ -3465,6 +3465,32 @@ (define-public python-lightning-utilities
|
||||||
Actions for the Lightning suite of libraries.")
|
Actions for the Lightning suite of libraries.")
|
||||||
(license license:asl2.0)))
|
(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
|
(define-public python-torchmetrics
|
||||||
(package
|
(package
|
||||||
(name "python-torchmetrics")
|
(name "python-torchmetrics")
|
||||||
|
|
Loading…
Reference in a new issue