Unverified Commit d057a2ee authored by makefu's avatar makefu
Browse files

hovercraft: fix build 2.7 with upstream debian patch

parent 97b0ae26
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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";