htop: switch to python 3

This commit is contained in:
Jan Tojnar 2019-12-25 09:02:20 +01:00
parent c72e388b7f
commit e4bd8a6fab
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

@ -1,5 +1,5 @@
{ lib, fetchurl, stdenv, ncurses,
IOKit, python }:
IOKit, python3 }:
stdenv.mkDerivation rec {
pname = "htop";
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "0mrwpb3cpn3ai7ar33m31yklj64c3pp576vh1naqff6f21pq5mnr";
};
nativeBuildInputs = [ python ];
nativeBuildInputs = [ python3 ];
buildInputs =
[ ncurses ] ++
lib.optionals stdenv.isDarwin [ IOKit ];