guix-commits
[Top][All Lists]
Advanced

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

02/09: gnu: vnstat: Use G-Expressions.


From: guix-commits
Subject: 02/09: gnu: vnstat: Use G-Expressions.
Date: Wed, 1 Feb 2023 03:49:09 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 0b57ebb595e1f7965c6e25b071b50a078009b88b
Author: Bruno Victal <mirai@makinata.eu>
AuthorDate: Fri Jan 20 16:51:20 2023 +0000

    gnu: vnstat: Use G-Expressions.
    
    * gnu/packages/networking.scm (vnstat)[arguments]: Use G-Expressions.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/networking.scm | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 74f009e14e..2e9d018294 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -4575,15 +4575,16 @@ implementations.")
    (inputs (list sqlite))
    (native-inputs (list pkg-config check))
    (arguments
-    `(#:phases
-      (modify-phases %standard-phases
-        (add-before 'check 'disable-id-tests
-          (lambda _
-            (substitute*
-                '("Makefile" "tests/vnstat_tests.c")
-              (("tests/id_tests.c \\$") "\\")
-              (("tests/id_tests.h h") "h")
-              (("^.*id_tests.*$") "")))))))
+    (list
+     #:phases
+     #~(modify-phases %standard-phases
+         (add-before 'check 'disable-id-tests
+           (lambda _
+             (substitute*
+                 '("Makefile" "tests/vnstat_tests.c")
+               (("tests/id_tests.c \\$") "\\")
+               (("tests/id_tests.h h") "h")
+               (("^.*id_tests.*$") "")))))))
    (home-page "https://humdi.net/vnstat/";)
    (synopsis "Network traffic monitoring tool")
    (description "vnStat is a console-based network traffic monitor that keeps



reply via email to

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