mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: zabbix-cli: Use new style.
* gnu/packages/monitoring.scm (zabbix-cli)[arguments]: Use SEARCH-INPUT-FILE. [inputs]: Remove labels.
This commit is contained in:
parent
d29b206ef1
commit
d485faf633
1 changed files with 6 additions and 6 deletions
|
@ -266,18 +266,18 @@ (define-public zabbix-cli
|
|||
(arguments
|
||||
'(#:phases (modify-phases %standard-phases
|
||||
(add-after 'unpack 'use-absolute-ncurses
|
||||
(lambda _
|
||||
(substitute* "bin/zabbix-cli"
|
||||
(("'clear'")
|
||||
(string-append "'" (which "clear") "'")))))
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((clear (search-input-file inputs "bin/clear")))
|
||||
(substitute* "bin/zabbix-cli"
|
||||
(("'clear'")
|
||||
(string-append "'" clear "'"))))))
|
||||
(add-after 'unpack 'patch-setup.py
|
||||
(lambda _
|
||||
;; Install data_files to $out/share instead of /usr/share.
|
||||
(substitute* "setup.py"
|
||||
(("/usr/") "")))))))
|
||||
(inputs
|
||||
`(("clear" ,ncurses)
|
||||
("python-requests" ,python-requests)))
|
||||
(list ncurses python-requests))
|
||||
(home-page "https://github.com/unioslo/zabbix-cli")
|
||||
(synopsis "Command-line interface to Zabbix")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue