[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/26: gnu: nethogs: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
02/26: gnu: nethogs: Don't use unstable tarball. |
Date: |
Mon, 25 May 2020 18:20:00 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 52dd58b56dbcc7610a26275fe9782151d664bb68
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Mon May 25 19:08:41 2020 +0200
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.
---
gnu/packages/networking.scm | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 0b6c6e7..9f7548d 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1724,21 +1724,23 @@ the bandwidth, loss, and other parameters.")
(package
(name "nethogs")
(version "0.8.6")
- (source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/raboof/nethogs/archive/v"
- version ".tar.gz"))
- (sha256
- (base32
- "1875q9hx48g68pika7n51an879v3s10ir4sf95z6ggnl6m91sz1i"))
- (file-name (string-append name "-" version ".tar.gz"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/raboof/nethogs")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32 "0sn1sdp86akwlm4r1vmkxjjl50c0xaisk91bbz57z7kcsaphxna9"))
+ (file-name (git-file-name name version))))
(build-system gnu-build-system)
(inputs
`(("libpcap" ,libpcap)
("ncurses" ,ncurses)))
(arguments
`(#:make-flags `("CC=gcc"
- ,(string-append "PREFIX=" %output))
+ ,(string-append "PREFIX=" %output)
+ ,(string-append "VERSION=" ,version))
#:phases
(modify-phases %standard-phases
(delete 'configure)))) ; no ./configure script.
- branch master updated (1bbf7e1 -> d01269d), guix-commits, 2020/05/25
- 01/26: gnu: nethogs: Update to 0.8.6., guix-commits, 2020/05/25
- 03/26: gnu: nethogs: Migrate to HASH., guix-commits, 2020/05/25
- 02/26: gnu: nethogs: Don't use unstable tarball.,
guix-commits <=
- 05/26: gnu: balsa: Don't use NAME in source URI., guix-commits, 2020/05/25
- 07/26: gnu: cutter: Update to 1.10.3., guix-commits, 2020/05/25
- 06/26: gnu: fetchmail: Update to 6.4.5., guix-commits, 2020/05/25
- 09/26: gnu: mutt: Update to 1.14.2., guix-commits, 2020/05/25
- 12/26: gnu: nfs-utils: Update to 2.4.3., guix-commits, 2020/05/25
- 17/26: gnu: lxsession: Update to 0.5.5., guix-commits, 2020/05/25
- 22/26: gnu: lxrandr: Don't use NAME in source URI., guix-commits, 2020/05/25
- 04/26: gnu: balsa: Update to 2.6.1., guix-commits, 2020/05/25
- 08/26: gnu: mc: Update to 4.8.24., guix-commits, 2020/05/25
- 21/26: gnu: lxrandr: Update to 0.3.2., guix-commits, 2020/05/25