tudu: enable on darwin

This commit is contained in:
Mario Rodas 2020-05-27 20:20:20 -05:00
parent a14d795d89
commit dab017a40f
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, ncurses }: { stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "tudu"; pname = "tudu";
version = "0.10.4"; version = "0.10.4";
@ -11,10 +11,15 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses ]; buildInputs = [ ncurses ];
meta = { preConfigure = stdenv.lib.optionalString stdenv.cc.isClang ''
substituteInPlace configure \
--replace 'echo "main()' 'echo "int main()'
'';
meta = with stdenv.lib; {
description = "ncurses-based hierarchical todo list manager with vim-like keybindings"; description = "ncurses-based hierarchical todo list manager with vim-like keybindings";
homepage = "https://code.meskio.net/tudu/"; homepage = "https://code.meskio.net/tudu/";
license = stdenv.lib.licenses.gpl3; license = licenses.gpl3;
platforms = stdenv.lib.platforms.linux; platforms = platforms.unix;
}; };
} }