commit
43f09cbd6d
1 changed files with 6 additions and 6 deletions
|
@ -1,27 +1,27 @@
|
||||||
{ lib, fetchFromGitHub, stdenv, autoreconfHook
|
{ lib, fetchFromGitHub, stdenv, autoreconfHook
|
||||||
, ncurses, IOKit, python3
|
, ncurses, IOKit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "htop";
|
pname = "htop";
|
||||||
version = "3.0.1";
|
version = "3.0.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "htop-dev";
|
owner = "htop-dev";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0kjlphdvwwbj91kk91s4ksc954d3c2bznddzx2223jmb1bn9rcsa";
|
sha256 = "1qmqhbnc5yw4brd24yrp85k09770c1c00nl03mkv5pdz2bvqivk7";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook python3 ];
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
buildInputs = [ ncurses
|
buildInputs = [ ncurses
|
||||||
] ++ lib.optionals stdenv.isDarwin [ IOKit ];
|
] ++ lib.optionals stdenv.isDarwin [ IOKit ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "An interactive process viewer for Linux";
|
description = "An interactive process viewer for Linux";
|
||||||
homepage = "https://hisham.hm/htop/";
|
homepage = "https://htop.dev";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Only;
|
||||||
platforms = with platforms; linux ++ freebsd ++ openbsd ++ darwin;
|
platforms = with platforms; linux ++ freebsd ++ openbsd ++ darwin;
|
||||||
maintainers = with maintainers; [ rob relrod ];
|
maintainers = with maintainers; [ rob relrod ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue