about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorFlorian Brandes <florian.brandes@posteo.de>2023-10-22 17:17:51 +0200
committerFlorian Brandes <florian.brandes@posteo.de>2023-10-22 17:17:51 +0200
commitaf7889b4d93590259ff264b9e631793877bcb668 (patch)
tree12d8d43c96779692cb59848a65725cc5b3ed7d62 /pkgs/applications/office
parent03ed4abc345e78320d74da3208ba38f6f5243edb (diff)
downloadnixlib-af7889b4d93590259ff264b9e631793877bcb668.tar
nixlib-af7889b4d93590259ff264b9e631793877bcb668.tar.gz
nixlib-af7889b4d93590259ff264b9e631793877bcb668.tar.bz2
nixlib-af7889b4d93590259ff264b9e631793877bcb668.tar.lz
nixlib-af7889b4d93590259ff264b9e631793877bcb668.tar.xz
nixlib-af7889b4d93590259ff264b9e631793877bcb668.tar.zst
nixlib-af7889b4d93590259ff264b9e631793877bcb668.zip
todoman: apply upstream patch
`urwid` had some breaking changes and this
disables one test in todoman to make it work
with `urwid` again.

See https://github.com/pimutils/todoman/issues/537

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/todoman/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/office/todoman/default.nix b/pkgs/applications/office/todoman/default.nix
index 813c29e1ef50..56c2219af67d 100644
--- a/pkgs/applications/office/todoman/default.nix
+++ b/pkgs/applications/office/todoman/default.nix
@@ -5,6 +5,7 @@
 , installShellFiles
 , jq
 , python3
+, fetchpatch
 }:
 
 python3.pkgs.buildPythonApplication rec {
@@ -19,6 +20,14 @@ python3.pkgs.buildPythonApplication rec {
     hash = "sha256-dxyI9ypZZBouTUF72wzvi7j+CeoQ9JNSiXrVeV7ForY=";
   };
 
+  patches = [
+    (fetchpatch {
+      name = "disable-broken-urwid-test.patch";
+      url = "https://github.com/pimutils/todoman/commit/7ff0d2e2e69e24df5d66fecc58f8cd0b4e5ced6d.patch";
+      hash = "sha256-MMNnnIthNqobexd8GaA6lYxzv5gr1l0e9YK+Ygeje2w=";
+    })
+  ];
+
   SETUPTOOLS_SCM_PRETEND_VERSION = version;
 
   nativeBuildInputs = [