guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/13: gnu: minicom: Update package style.


From: guix-commits
Subject: 10/13: gnu: minicom: Update package style.
Date: Wed, 27 Sep 2023 18:47:01 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit e82cd9176e81b422b34a367c14c6064c5958fc08
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Sep 24 02:00:00 2023 +0200

    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(-)

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 @@ replacement for the OpenDWG libraries.")
        (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";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]