rss2email: fix build with feedparser 6

This commit is contained in:
Orivej Desh 2020-12-07 10:04:55 +00:00
parent 2c7243d7f5
commit 83a9bbdf82

@ -1,4 +1,4 @@
{ pythonPackages, fetchurl, lib, nixosTests }:
{ pythonPackages, fetchurl, fetchpatch, lib, nixosTests }:
with pythonPackages;
@ -14,6 +14,19 @@ buildPythonApplication rec {
sha256 = "12w6x80wsw6xm17fxyymnl45aavsagg932zw621wcjz154vjghjr";
};
patches = [
(fetchpatch {
name = "rss2email-feedparser6.patch";
url = "https://github.com/rss2email/rss2email/pull/149/commits/338343c92f956c31ff5249ef4bcf7aeea81f687e.patch";
sha256 = "0h8b3g9332vdrkqbh6lp00k97asrhmlxi13zghrgc78ia13czy3z";
})
(fetchpatch {
name = "rss2email-feedparser6-test.patch";
url = "https://github.com/rss2email/rss2email/pull/149/commits/8c99651eced3f29f05ba2c0ca02abb8bb9a18967.patch";
sha256 = "1scljak6xyqxlilg3j39v4qm9a9jks1bnvnrh62hyf3g53yw2xlg";
})
];
outputs = [ "out" "man" "doc" ];
postPatch = ''