about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-05-27 22:13:44 -0500
committerGitHub <noreply@github.com>2020-05-27 22:13:44 -0500
commit0ee07b70869eed44cc3be580fcf72f864b16c6f5 (patch)
treec13701ae89fa64e548ca8aadf04e9461ecdb0a5b /pkgs/applications/office
parent95105fd37e1f61f1d61009a93bc96dc00e191c1a (diff)
parentdab017a40f54097ba6f5837f087663e0b2009dd2 (diff)
downloadnixlib-0ee07b70869eed44cc3be580fcf72f864b16c6f5.tar
nixlib-0ee07b70869eed44cc3be580fcf72f864b16c6f5.tar.gz
nixlib-0ee07b70869eed44cc3be580fcf72f864b16c6f5.tar.bz2
nixlib-0ee07b70869eed44cc3be580fcf72f864b16c6f5.tar.lz
nixlib-0ee07b70869eed44cc3be580fcf72f864b16c6f5.tar.xz
nixlib-0ee07b70869eed44cc3be580fcf72f864b16c6f5.tar.zst
nixlib-0ee07b70869eed44cc3be580fcf72f864b16c6f5.zip
Merge pull request #89038 from r-ryantm/auto-update/tudu
tudu: 0.10.3 -> 0.10.4
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/tudu/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/applications/office/tudu/default.nix b/pkgs/applications/office/tudu/default.nix
index cb3b2111372b..6094e02c5c1b 100644
--- a/pkgs/applications/office/tudu/default.nix
+++ b/pkgs/applications/office/tudu/default.nix
@@ -1,20 +1,25 @@
 { stdenv, fetchurl, ncurses }:
-stdenv.mkDerivation rec {
 
+stdenv.mkDerivation rec {
   pname = "tudu";
-  version = "0.10.3";
+  version = "0.10.4";
 
   src = fetchurl {
     url = "https://code.meskio.net/tudu/${pname}-${version}.tar.gz";
-    sha256 = "0140pw457cd05ysws998yhd3b087j98q8m0g3s4br942l65b8n2y";
+    sha256 = "14srqn968ii3sr4v6xc5zzs50dmm9am22lrm57j7n0rhjclwbssy";
   };
 
   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;
   };
 }