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.
This commit is contained in:
Tobias Geerinckx-Rice 2019-03-18 22:15:22 +01:00
parent 223ef546df
commit 01d7cafeef
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -800,17 +800,31 @@ (define-public httpstat
(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.")