From 9925a2347a96f1125de4acee65eac064b7e02a46 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 30 Aug 2020 01:01:38 +0200 Subject: gnu: htop: Update to 3.0.0. * gnu/packages/admin.scm (htop): Update to 3.0.0. [source]: Switch to new upstream. Use GIT-FETCH and GIT-FILE-NAME. [native-inputs]: Add autoconf and automake. [home-page]: Switch to new upstream. --- gnu/packages/admin.scm | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 6610b8f5c1..5d2c05618a 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -514,20 +514,24 @@ (define-public facter (define-public htop (package (name "htop") - (version "2.2.0") - (source (origin - (method url-fetch) - (uri (string-append "http://hisham.hm/htop/releases/" - version "/htop-" version ".tar.gz")) - (sha256 - (base32 - "0mrwpb3cpn3ai7ar33m31yklj64c3pp576vh1naqff6f21pq5mnr")))) + (version "3.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/htop-dev/htop") + (commit version))) + (sha256 + (base32 "096gdnpaszs5rfp7qj8npi2jkvdqpp8mznn89f97ykrg6pgagwq4")) + (file-name (git-file-name name version)))) (build-system gnu-build-system) (inputs `(("ncurses" ,ncurses))) (native-inputs - `(("python" ,python-wrapper))) ;for scripts/MakeHeader.py - (home-page "https://hisham.hm/htop/") + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("python" ,python-wrapper))) ; for scripts/MakeHeader.py + (home-page "https://htop.dev") (synopsis "Interactive process viewer") (description "This is htop, an interactive process viewer. It is a text-mode -- cgit v1.2.3