From 54916ba6574c68106192330711723613922562bf Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 18 Aug 2015 01:08:44 +0200 Subject: [PATCH] htop: 1.0.3 -> (git) 2015-08-12 Temporarily update to git HEAD for the "display program basename" functionality it provides. --- pkgs/os-specific/linux/htop/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/htop/default.nix b/pkgs/os-specific/linux/htop/default.nix index d35b5340e9dd..8e7df5bb8a5b 100644 --- a/pkgs/os-specific/linux/htop/default.nix +++ b/pkgs/os-specific/linux/htop/default.nix @@ -1,14 +1,17 @@ -{ fetchurl, stdenv, ncurses }: +{ fetchFromGitHub, stdenv, autoreconfHook, ncurses }: stdenv.mkDerivation rec { - name = "htop-1.0.3"; + name = "htop-2015-08-12"; - src = fetchurl { - url = "http://hisham.hm/htop/releases/1.0.3/htop-1.0.3.tar.gz"; - sha256 = "0a8qbpsifzjwc4f45xfwm48jhm59g6q5hlib4bf7z13mgy95fp05"; + src = fetchFromGitHub { + sha256 = "017aihyg0bjli1hlvcqgqxpwzy2ayvwv6byhqd97n9sqfkmi9i0p"; + rev = "f2c053a88497f3ad5ae786c16ecf1275212c13be"; + repo = "htop"; + owner = "hishamhm"; }; buildInputs = [ ncurses ]; + nativeBuildInputs = [ autoreconfHook ]; meta = { description = "An interactive process viewer for Linux";