Files
nixpkgs/pkgs/by-name/ho/hovercraft/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
1.1 KiB
Nix

{
lib,
fetchFromGitHub,
python3Packages,
fetchpatch,
}:
python3Packages.buildPythonApplication rec {
pname = "hovercraft";
version = "2.7";
format = "setuptools";
disabled = !python3Packages.isPy3k;
src = fetchFromGitHub {
owner = "regebro";
repo = "hovercraft";
tag = version;
hash = "sha256-X6EaiVahAYAaFB65oqmj695wlJFXNseqz0SQLzGVD0w=";
};
nativeCheckInputs = with python3Packages; [ manuel ];
dependencies = with python3Packages; [
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";
hash = "sha256-qz4Kp4MxlS3KPKRB5/VESCI++66U9q6cjQ0cHy3QjTc=";
})
];
meta = {
description = "Makes impress.js presentations from reStructuredText";
mainProgram = "hovercraft";
homepage = "https://github.com/regebro/hovercraft";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ makefu ];
};
}