hovercraft: fix build 2.7 with upstream debian patch

This commit is contained in:
makefu
2023-11-09 23:26:32 +01:00
parent 97b0ae26f7
commit d057a2eec3
@@ -9,6 +9,7 @@
, svg-path
, pygments
, watchdog
, fetchpatch
}:
buildPythonApplication rec {
@@ -25,6 +26,13 @@ buildPythonApplication rec {
nativeCheckInputs = [ manuel ];
propagatedBuildInputs = [ setuptools docutils lxml svg-path pygments watchdog ];
patches = [
(fetchpatch {
name = "fix tests with pygments 2.14";
url = "https://sources.debian.org/data/main/h/hovercraft/2.7-5/debian/patches/0003-Fix-tests-with-pygments-2.14.patch";
sha256 = "sha256-qz4Kp4MxlS3KPKRB5/VESCI++66U9q6cjQ0cHy3QjTc=";
})
];
meta = with lib; {
description = "Makes impress.js presentations from reStructuredText";