Skip to content

Commit

Permalink
todoman: apply upstream patch
Browse files Browse the repository at this point in the history
`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]>
  • Loading branch information
gador committed Oct 22, 2023
1 parent 03ed4ab commit af7889b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/applications/office/todoman/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
, installShellFiles
, jq
, python3
, fetchpatch
}:

python3.pkgs.buildPythonApplication rec {
Expand All @@ -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 = [
Expand Down

0 comments on commit af7889b

Please sign in to comment.