topydo: apply patch to fix test

This commit is contained in:
figsoda 2023-05-14 16:56:59 -04:00
parent b753135b53
commit 5fc7480c94

View File

@ -1,4 +1,4 @@
{ lib, python3Packages, fetchFromGitHub, glibcLocales }:
{ lib, python3Packages, fetchFromGitHub, fetchpatch, glibcLocales }:
with python3Packages;
@ -13,6 +13,15 @@ buildPythonApplication rec {
sha256 = "1lpfdai0pf90ffrzgmmkadbd86rb7250i3mglpkc82aj6prjm6yb";
};
patches = [
# fixes a failing test
(fetchpatch {
name = "update-a-test-reference-ics-file.patch";
url = "https://github.com/topydo/topydo/commit/9373bb4702b512b10f0357df3576c129901e3ac6.patch";
hash = "sha256-JpyQfryWSoJDdyzbrESWY+RmRbDw1myvTlsFK7+39iw=";
})
];
propagatedBuildInputs = [
arrow
icalendar