[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/12: gnu: zabbix-cli: Use new style.
From: |
guix-commits |
Subject: |
12/12: gnu: zabbix-cli: Use new style. |
Date: |
Tue, 21 Jun 2022 11:43:13 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit d485faf633a636e4db11c83fb1215240b4fd0e87
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Jun 21 17:05:16 2022 +0200
gnu: zabbix-cli: Use new style.
* gnu/packages/monitoring.scm (zabbix-cli)[arguments]: Use
SEARCH-INPUT-FILE.
[inputs]: Remove labels.
---
gnu/packages/monitoring.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index 2e04c32f0a..d925953eab 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -266,18 +266,18 @@ solution (server-side)")))
(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
- 03/12: gnu: python-pika: Update to 1.2.1., (continued)
- 03/12: gnu: python-pika: Update to 1.2.1., guix-commits, 2022/06/21
- 01/12: gnu: python-faiss: Fix build on Python 3.9., guix-commits, 2022/06/21
- 05/12: gnu: python-django-netfields: Update to 1.3.0., guix-commits, 2022/06/21
- 06/12: gnu: python-breathe: Update to 4.34.0., guix-commits, 2022/06/21
- 07/12: gnu: python-ipython-sql: Update to 0.4.1., guix-commits, 2022/06/21
- 11/12: gnu: python-prettytable: Update to 3.3.0., guix-commits, 2022/06/21
- 09/12: gnu: Add python-autopage., guix-commits, 2022/06/21
- 08/12: gnu: python-ipython-sql: Remove prettytable version constraint., guix-commits, 2022/06/21
- 04/12: gnu: python-django-auth-ldap: Update to 4.1.0., guix-commits, 2022/06/21
- 10/12: gnu: python-cliff: Update to 3.10.1., guix-commits, 2022/06/21
- 12/12: gnu: zabbix-cli: Use new style.,
guix-commits <=