Files
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

61 lines
1.1 KiB
Nix

{
buildPythonPackage,
ebooklib,
fetchFromGitHub,
lib,
lxml,
nix-update-script,
pillow,
poetry-core,
pypdf,
python-slugify,
pythonOlder,
}:
buildPythonPackage rec {
pname = "comicon";
version = "1.5.0";
pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub {
owner = "potatoeggy";
repo = "comicon";
tag = "v${version}";
hash = "sha256-E5Jmk/dQcEuH7kq5RL80smHUuL/Sw0F1wk4V1/4sKSQ=";
};
build-system = [
poetry-core
];
dependencies = [
ebooklib
lxml
pillow
pypdf
python-slugify
];
pythonRelaxDeps = [
"ebooklib"
"lxml"
"pillow"
"pypdf"
];
doCheck = false; # test artifacts are not public
pythonImportsCheck = [ "comicon" ];
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/potatoeggy/comicon/releases/tag/v${version}";
description = "Lightweight comic converter library between CBZ, PDF, and EPUB";
homepage = "https://github.com/potatoeggy/comicon";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ Scrumplex ];
};
}