gnu: Add python-blessed.

* gnu/packages/python-xyz.scm (python-blessed): New variable.
This commit is contained in:
Efraim Flashner 2020-07-21 10:55:55 +03:00
parent a1d406e829
commit 4c03a60783
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 31 additions and 0 deletions

View File

@ -20590,3 +20590,34 @@ For the most part it's transliterated from C, the major differences are:
(description
"Jinxed is an implementation of a subset of the Python curses library.")
(license license:mpl2.0)))
(define-public python-blessed
(package
(name "python-blessed")
(version "1.17.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "blessed" version))
(sha256
(base32
"1wdj342sk22hfrg0n91x2qnqsbzbiyq9y009v3pxnvfzn9bx0wbn"))
(modules '((guix build utils)))
(snippet
'(begin
;; Don't get hung up on Windows test failures.
(delete-file "blessed/win_terminal.py") #t))))
(build-system python-build-system)
(propagated-inputs
`(("python-jinxed" ,python-jinxed)
("python-six" ,python-six)
("python-wcwidth" ,python-wcwidth)))
(native-inputs
`(("python-mock" ,python-mock)
("python-pytest" ,python-pytest)))
(home-page "https://github.com/jquast/blessed")
(synopsis "Wrapper around terminal capabilities")
(description
"Blessed is a thin, practical wrapper around terminal styling, screen
positioning, and keyboard input.")
(license license:expat)))