diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-05-27 20:20:20 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-05-27 20:20:20 -0500 |
commit | dab017a40f54097ba6f5837f087663e0b2009dd2 (patch) | |
tree | 2291ebd6cae7500314ee3a85a5a96acdeaaa68a2 /pkgs/applications/office | |
parent | a14d795d8989ed7b14996fbe9243268daabf4213 (diff) |
tudu: enable on darwin
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/tudu/default.nix | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/applications/office/tudu/default.nix b/pkgs/applications/office/tudu/default.nix index 9cc622ca9ef88..6094e02c5c1b6 100644 --- a/pkgs/applications/office/tudu/default.nix +++ b/pkgs/applications/office/tudu/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, ncurses }: -stdenv.mkDerivation rec { +stdenv.mkDerivation rec { pname = "tudu"; version = "0.10.4"; @@ -11,10 +11,15 @@ stdenv.mkDerivation rec { 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"; homepage = "https://code.meskio.net/tudu/"; - license = stdenv.lib.licenses.gpl3; - platforms = stdenv.lib.platforms.linux; + license = licenses.gpl3; + platforms = platforms.unix; }; } |