me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 0 additions and 7 deletions

View File

@ -213,15 +213,8 @@ insert mode and command mode where keybindings have different functions.")
(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)))