mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
htop: 3.0.0 -> 3.0.1
This commit is contained in:
parent
c25a7cd846
commit
d1ffe81e13
|
@ -1,28 +1,18 @@
|
|||
{ lib, fetchFromGitHub, stdenv, autoreconfHook
|
||||
, ncurses, IOKit, python3
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "htop";
|
||||
version = "3.0.0";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "htop-dev";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "096gdnpaszs5rfp7qj8npi2jkvdqpp8mznn89f97ykrg6pgagwq4";
|
||||
sha256 = "0kjlphdvwwbj91kk91s4ksc954d3c2bznddzx2223jmb1bn9rcsa";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Never use glyphs for checkmarks. Issue - https://github.com/htop-dev/htop/issues/29
|
||||
# Remove with the next release.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/htop-dev/htop/commit/96074058278829facb86f6f4de099d56a00a0c0e.patch";
|
||||
sha256 = "1rnfvjfsvfgr1s7kzr1hk6nwik6shcq4mg6dlbgdq0f2fz0cnazk";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook python3 ];
|
||||
|
||||
buildInputs = [ ncurses
|
||||
|
|
Loading…
Reference in a new issue