nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 46 lines 1.1 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 fetchpatch, 6}: 7 8python3Packages.buildPythonApplication rec { 9 pname = "hovercraft"; 10 version = "2.7"; 11 format = "setuptools"; 12 disabled = !python3Packages.isPy3k; 13 14 src = fetchFromGitHub { 15 owner = "regebro"; 16 repo = "hovercraft"; 17 tag = version; 18 hash = "sha256-X6EaiVahAYAaFB65oqmj695wlJFXNseqz0SQLzGVD0w="; 19 }; 20 21 nativeCheckInputs = with python3Packages; [ manuel ]; 22 23 dependencies = with python3Packages; [ 24 setuptools 25 docutils 26 lxml 27 svg-path 28 pygments 29 watchdog 30 ]; 31 patches = [ 32 (fetchpatch { 33 name = "fix tests with pygments 2.14"; 34 url = "https://sources.debian.org/data/main/h/hovercraft/2.7-5/debian/patches/0003-Fix-tests-with-pygments-2.14.patch"; 35 hash = "sha256-qz4Kp4MxlS3KPKRB5/VESCI++66U9q6cjQ0cHy3QjTc="; 36 }) 37 ]; 38 39 meta = { 40 description = "Makes impress.js presentations from reStructuredText"; 41 mainProgram = "hovercraft"; 42 homepage = "https://github.com/regebro/hovercraft"; 43 license = lib.licenses.mit; 44 maintainers = with lib.maintainers; [ makefu ]; 45 }; 46}