biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / applications / misc / hovercraft / default.nix
blobe06cc850568d005e0c32c0f2a252da212c02a2f6
1 { lib
2 , buildPythonApplication
3 , isPy3k
4 , fetchFromGitHub
5 , manuel
6 , setuptools
7 , docutils
8 , lxml
9 , svg-path
10 , pygments
11 , watchdog
12 , fetchpatch
15 buildPythonApplication rec {
16   pname = "hovercraft";
17   version = "2.7";
18   disabled = ! isPy3k;
20   src = fetchFromGitHub {
21     owner = "regebro";
22     repo = "hovercraft";
23     rev = version;
24     sha256 = "0k0gjlqjz424rymcfdjpj6a71ppblfls5f8y2hd800d1as4im8az";
25   };
27   nativeCheckInputs = [ manuel ];
28   propagatedBuildInputs = [ setuptools docutils lxml svg-path pygments watchdog ];
29   patches = [
30     (fetchpatch {
31       name = "fix tests with pygments 2.14";
32       url = "https://sources.debian.org/data/main/h/hovercraft/2.7-5/debian/patches/0003-Fix-tests-with-pygments-2.14.patch";
33       sha256 = "sha256-qz4Kp4MxlS3KPKRB5/VESCI++66U9q6cjQ0cHy3QjTc=";
34     })
35   ];
37   meta = with lib; {
38     description = "Makes impress.js presentations from reStructuredText";
39     mainProgram = "hovercraft";
40     homepage = "https://github.com/regebro/hovercraft";
41     license = licenses.mit;
42     maintainers = with maintainers; [ makefu ];
43   };