diff mbox series

[bug#60967,2/3] gnu: vnstat: Use G-Expressions.

Message ID a9f6858d74aaaf8a3f27f4f177a304cf2e6d95de.1674233232.git.mirai@makinata.eu
State New
Headers show
Series Update vnstat to 2.10 and build vnstati. | expand

Commit Message

Bruno Victal Jan. 20, 2023, 4:51 p.m. UTC
* gnu/packages/networking.scm (vnstat): Use G-Expressions.
---
 gnu/packages/networking.scm | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 0bdd38f703..0565d997b2 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -4536,15 +4536,16 @@  (define-public vnstat
    (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