From e82cd9176e81b422b34a367c14c6064c5958fc08 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 24 Sep 2023 02:00:00 +0200 Subject: gnu: minicom: Update package style. * gnu/packages/engineering.scm (minicom)[arguments]: Rewrite as G-expressions. [native-inputs]: Remove input labels. --- gnu/packages/engineering.scm | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index bdc4b179e1..828c13d376 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1499,25 +1499,24 @@ (define-public minicom (file-name (git-file-name name version)))) (build-system gnu-build-system) (arguments - `(#:configure-flags '("--enable-lock-dir=/var/lock") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'make-git-checkout-writable - (lambda _ - (for-each make-file-writable (find-files ".")))) - (replace 'bootstrap - ;; autogen.sh needlessly hard-codes aclocal-1.14. - (lambda _ - (invoke "autoreconf" "-vif"))) - (add-before 'configure 'patch-lock-check - (lambda _ - (substitute* "configure" - (("test -d [$]UUCPLOCK") "true"))))))) + (list + #:configure-flags + #~(list "--enable-lock-dir=/var/lock") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'make-git-checkout-writable + (lambda _ + (for-each make-file-writable (find-files ".")))) + (replace 'bootstrap + ;; autogen.sh needlessly hard-codes aclocal-1.14. + (lambda _ + (invoke "autoreconf" "-vif"))) + (add-before 'configure 'patch-lock-check + (lambda _ + (substitute* "configure" + (("test -d [$]UUCPLOCK") "true"))))))) (native-inputs - `(("autoconf" ,autoconf-2.71) - ("automake" ,automake) - ("gettext" ,gettext-minimal) - ("pkg-config" ,pkg-config))) + (list autoconf-2.71 automake gettext-minimal pkg-config)) (inputs (list ncurses)) (home-page "https://salsa.debian.org/minicom-team/minicom") -- cgit v1.2.3