Merge pull request #9307 from nckx/patch-htop

htop: patch to (optionally) hide programme paths

+8 -5
+8 -5
pkgs/os-specific/linux/htop/default.nix
··· 1 - { fetchurl, stdenv, ncurses }: 1 + { fetchFromGitHub, stdenv, autoreconfHook, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "htop-1.0.3"; 4 + name = "htop-2015-08-12"; 5 5 6 - src = fetchurl { 7 - url = "http://hisham.hm/htop/releases/1.0.3/htop-1.0.3.tar.gz"; 8 - sha256 = "0a8qbpsifzjwc4f45xfwm48jhm59g6q5hlib4bf7z13mgy95fp05"; 6 + src = fetchFromGitHub { 7 + sha256 = "017aihyg0bjli1hlvcqgqxpwzy2ayvwv6byhqd97n9sqfkmi9i0p"; 8 + rev = "f2c053a88497f3ad5ae786c16ecf1275212c13be"; 9 + repo = "htop"; 10 + owner = "hishamhm"; 9 11 }; 10 12 11 13 buildInputs = [ ncurses ]; 14 + nativeBuildInputs = [ autoreconfHook ]; 12 15 13 16 meta = { 14 17 description = "An interactive process viewer for Linux";