guix-commits
[Top][All Lists]
Advanced

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

07/07: gnu: bwm-ng: Update to 0.6.2.


From: guix-commits
Subject: 07/07: gnu: bwm-ng: Update to 0.6.2.
Date: Mon, 18 Mar 2019 17:18:00 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 01d7cafeef674f0e0603bdb3988271cf2c119fb2
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Mon Mar 18 22:15:22 2019 +0100

    gnu: bwm-ng: Update to 0.6.2.
    
    * gnu/packages/networking.scm (bwm-ng): Update to 0.6.2.
    [source]: Use GIT-FETCH and GIT-FILE-NAME.
    [arguments]: Add ‘disable-premature-./configure’ phase.
    [native-inputs]: Add autoconf and automake.
---
 gnu/packages/networking.scm | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 7320560..1ea152a 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -800,17 +800,31 @@ TCP connection, TLS handshake and so on) in the 
terminal.")
 (define-public bwm-ng
   (package
     (name "bwm-ng")
-    (version "0.6.1")
+    (version "0.6.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://www.gropp.org/bwm-ng/bwm-ng-";
-                           version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/vgropp/bwm-ng.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1w0dwpjjm9pqi613i8glxrgca3rdyqyp3xydzagzr5ndc34z6z02"))))
+        (base32 "0k906wb4pw3dcqpcwnni78lahzi3bva483f8c17sjykic7as4y5n"))))
     (build-system gnu-build-system)
-    (inputs `(("ncurses" ,ncurses)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'disable-premature-./configure
+           (lambda _
+             (substitute* "autogen.sh"
+               (("\\$srcdir/configure")
+                "true"))
+             #t)))))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)))
+    (inputs
+     `(("ncurses" ,ncurses)))
     (synopsis "Console based live network and disk I/O bandwidth monitor")
     (description "Bandwidth Monitor NG is a small and simple console based
 live network and disk I/O bandwidth monitor.")



reply via email to

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