Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 59 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ 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 = [ "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 ]; };}