gnu: nethogs: Don't use unstable tarball.
* gnu/packages/networking.scm (nethogs)[source]: Use GIT-FETCH and GIT-FILE-NAME. [arguments]: Don't try (and fail) to determine the version using git.
This commit is contained in:
parent
dd070af55c
commit
52dd58b56d
1 changed files with 11 additions and 9 deletions
|
@ -1724,21 +1724,23 @@ the bandwidth, loss, and other parameters.")
|
||||||
(package
|
(package
|
||||||
(name "nethogs")
|
(name "nethogs")
|
||||||
(version "0.8.6")
|
(version "0.8.6")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (string-append "https://github.com/raboof/nethogs/archive/v"
|
(method git-fetch)
|
||||||
version ".tar.gz"))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/raboof/nethogs")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0sn1sdp86akwlm4r1vmkxjjl50c0xaisk91bbz57z7kcsaphxna9"))
|
||||||
"1875q9hx48g68pika7n51an879v3s10ir4sf95z6ggnl6m91sz1i"))
|
(file-name (git-file-name name version))))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("libpcap" ,libpcap)
|
`(("libpcap" ,libpcap)
|
||||||
("ncurses" ,ncurses)))
|
("ncurses" ,ncurses)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags `("CC=gcc"
|
`(#:make-flags `("CC=gcc"
|
||||||
,(string-append "PREFIX=" %output))
|
,(string-append "PREFIX=" %output)
|
||||||
|
,(string-append "VERSION=" ,version))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)))) ; no ./configure script.
|
(delete 'configure)))) ; no ./configure script.
|
||||||
|
|
Reference in a new issue