at 23.11-beta 43 lines 1.1 kB view raw
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 13}: 14 15buildPythonApplication rec { 16 pname = "hovercraft"; 17 version = "2.7"; 18 disabled = ! isPy3k; 19 20 src = fetchFromGitHub { 21 owner = "regebro"; 22 repo = "hovercraft"; 23 rev = version; 24 sha256 = "0k0gjlqjz424rymcfdjpj6a71ppblfls5f8y2hd800d1as4im8az"; 25 }; 26 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 ]; 36 37 meta = with lib; { 38 description = "Makes impress.js presentations from reStructuredText"; 39 homepage = "https://github.com/regebro/hovercraft"; 40 license = licenses.mit; 41 maintainers = with maintainers; [ goibhniu makefu ]; 42 }; 43}