c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
26 lines
700 B
Nix
26 lines
700 B
Nix
{ lib, stdenv, fetchurl, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tudu";
|
|
version = "0.10.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://code.meskio.net/tudu/${pname}-${version}.tar.gz";
|
|
sha256 = "14srqn968ii3sr4v6xc5zzs50dmm9am22lrm57j7n0rhjclwbssy";
|
|
};
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
preConfigure = lib.optionalString stdenv.cc.isClang ''
|
|
substituteInPlace configure \
|
|
--replace 'echo "main()' 'echo "int main()'
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "ncurses-based hierarchical todo list manager with vim-like keybindings";
|
|
homepage = "https://code.meskio.net/tudu/";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
mainProgram = "tudu";
|
|
};
|
|
}
|