gnu: asciinema: Remove ncurses reference.

An external ‘tput’ is only required by ancient (<3.3) Pythons 3 and can
always be provided in $PATH.  It is not worth a reference.

* gnu/packages/terminals.scm (asciinema)[arguments]:
Remove 'patch-exec-paths phase.
[inputs]: Remove ncurses.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-23 23:39:04 +02:00
parent 82924c1953
commit 075c9f1269
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -213,15 +213,8 @@ (define-public asciinema
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'build 'patch-exec-paths
(lambda* (#:key inputs #:allow-other-keys)
(let ((ncurses (assoc-ref inputs "ncurses")))
(substitute* "asciinema/term.py"
(("'tput'")
(string-append "'" ncurses "/bin/tput'"))))))
(replace 'check
(lambda _ (invoke "nosetests" "-v"))))))
(inputs `(("ncurses" ,ncurses)))
(native-inputs
;; For tests.
`(("python-nose" ,python-nose)))