1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, poetry-core 5, ebooklib 6, lxml 7, pillow 8, pypdf 9}: 10 11buildPythonPackage rec { 12 pname = "comicon"; 13 version = "1.0.0"; 14 format = "pyproject"; 15 16 src = fetchFromGitHub { 17 owner = "potatoeggy"; 18 repo = "comicon"; 19 rev = "v${version}"; 20 hash = "sha256-D6nK+GlcG/XqMTH7h7mJcbZCRG2xDHRsnooSTtphDNs="; 21 }; 22 23 nativeBuildInputs = [ 24 poetry-core 25 ]; 26 27 propagatedBuildInputs = [ 28 ebooklib 29 lxml 30 pillow 31 pypdf 32 ]; 33 34 pythonImportsCheck = [ "comicon" ]; 35 36 meta = with lib; { 37 description = "Lightweight comic converter library between CBZ, PDF, and EPUB"; 38 homepage = "https://github.com/potatoeggy/comicon"; 39 license = licenses.agpl3Only; 40 maintainers = with maintainers; [ Scrumplex ]; 41 }; 42}