1 { lib, stdenv, fetchurl, ncurses }:
3 stdenv.mkDerivation rec {
8 url = "https://code.meskio.net/tudu/${pname}-${version}.tar.gz";
9 sha256 = "14srqn968ii3sr4v6xc5zzs50dmm9am22lrm57j7n0rhjclwbssy";
12 buildInputs = [ ncurses ];
14 preConfigure = lib.optionalString stdenv.cc.isClang ''
15 substituteInPlace configure \
16 --replace 'echo "main()' 'echo "int main()'
20 description = "ncurses-based hierarchical todo list manager with vim-like keybindings";
21 homepage = "https://code.meskio.net/tudu/";
22 license = licenses.gpl3;
23 platforms = platforms.unix;