mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
htop: 2.02 -> 2.1.0
This commit is contained in:
parent
2bff46d193
commit
8a72d2a322
@ -1,19 +1,24 @@
|
|||||||
{ lib, fetchurl, stdenv, ncurses,
|
{ lib, fetchurl, stdenv, ncurses,
|
||||||
IOKit }:
|
IOKit, python }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "htop-${version}";
|
name = "htop-${version}";
|
||||||
version = "2.0.2";
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
sha256 = "11zlwadm6dpkrlfvf3z3xll26yyffa7qrxd1w72y1kl0rgffk6qp";
|
|
||||||
url = "http://hisham.hm/htop/releases/${version}/${name}.tar.gz";
|
url = "http://hisham.hm/htop/releases/${version}/${name}.tar.gz";
|
||||||
|
sha256 = "0j07z0xm2gj1vzvbgh4323k4db9mr7drd7gw95mmpqi61ncvwq1j";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ python ];
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ ncurses ] ++
|
[ ncurses ] ++
|
||||||
lib.optionals stdenv.isDarwin [ IOKit ];
|
lib.optionals stdenv.isDarwin [ IOKit ];
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
patchShebangs scripts/MakeHeader.py
|
||||||
|
'';
|
||||||
|
|
||||||
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://hisham.hm/htop/;
|
||||||
|
Loading…
Reference in New Issue
Block a user