2015-12-01 10:52:28 +00:00
|
|
|
{ stdenv, fetchurl, ncurses }:
|
|
|
|
|
2020-05-28 02:20:20 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "tudu";
|
2020-05-27 18:57:28 +01:00
|
|
|
version = "0.10.4";
|
2015-12-01 10:52:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://code.meskio.net/tudu/${pname}-${version}.tar.gz";
|
2020-05-27 18:57:28 +01:00
|
|
|
sha256 = "14srqn968ii3sr4v6xc5zzs50dmm9am22lrm57j7n0rhjclwbssy";
|
2015-12-01 10:52:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
|
2020-05-28 02:20:20 +01:00
|
|
|
preConfigure = stdenv.lib.optionalString stdenv.cc.isClang ''
|
|
|
|
substituteInPlace configure \
|
|
|
|
--replace 'echo "main()' 'echo "int main()'
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-12-01 10:52:28 +00:00
|
|
|
description = "ncurses-based hierarchical todo list manager with vim-like keybindings";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://code.meskio.net/tudu/";
|
2020-05-28 02:20:20 +01:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
2015-12-01 10:52:28 +00:00
|
|
|
};
|
|
|
|
}
|