mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
htop: disable use glyphs for checkmarks
This commit is contained in:
parent
7596bb4739
commit
fed86ab2a1
|
@ -1,5 +1,7 @@
|
||||||
{ lib, fetchFromGitHub, stdenv, autoreconfHook, ncurses,
|
{ lib, fetchFromGitHub, stdenv, autoreconfHook
|
||||||
IOKit, python3 }:
|
, ncurses, IOKit, python3
|
||||||
|
, fetchpatch
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "htop";
|
pname = "htop";
|
||||||
|
@ -12,10 +14,19 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "096gdnpaszs5rfp7qj8npi2jkvdqpp8mznn89f97ykrg6pgagwq4";
|
sha256 = "096gdnpaszs5rfp7qj8npi2jkvdqpp8mznn89f97ykrg6pgagwq4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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 ];
|
nativeBuildInputs = [ autoreconfHook python3 ];
|
||||||
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";
|
||||||
|
|
Loading…
Reference in a new issue