Skip to content

Commit af7889b

Browse files
committed
todoman: apply upstream patch
`urwid` had some breaking changes and this disables one test in todoman to make it work with `urwid` again. See pimutils/todoman#537 Signed-off-by: Florian Brandes <[email protected]>
1 parent 03ed4ab commit af7889b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkgs/applications/office/todoman/default.nix

+9
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
, installShellFiles
66
, jq
77
, python3
8+
, fetchpatch
89
}:
910

1011
python3.pkgs.buildPythonApplication rec {
@@ -19,6 +20,14 @@ python3.pkgs.buildPythonApplication rec {
1920
hash = "sha256-dxyI9ypZZBouTUF72wzvi7j+CeoQ9JNSiXrVeV7ForY=";
2021
};
2122

23+
patches = [
24+
(fetchpatch {
25+
name = "disable-broken-urwid-test.patch";
26+
url = "https://github.com/pimutils/todoman/commit/7ff0d2e2e69e24df5d66fecc58f8cd0b4e5ced6d.patch";
27+
hash = "sha256-MMNnnIthNqobexd8GaA6lYxzv5gr1l0e9YK+Ygeje2w=";
28+
})
29+
];
30+
2231
SETUPTOOLS_SCM_PRETEND_VERSION = version;
2332

2433
nativeBuildInputs = [

0 commit comments

Comments
 (0)