5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
42 lines
776 B
Nix
42 lines
776 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, poetry-core
|
|
, ebooklib
|
|
, lxml
|
|
, pillow
|
|
, pypdf
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "comicon";
|
|
version = "1.0.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "potatoeggy";
|
|
repo = "comicon";
|
|
rev = "v${version}";
|
|
hash = "sha256-D6nK+GlcG/XqMTH7h7mJcbZCRG2xDHRsnooSTtphDNs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
ebooklib
|
|
lxml
|
|
pillow
|
|
pypdf
|
|
];
|
|
|
|
pythonImportsCheck = [ "comicon" ];
|
|
|
|
meta = with lib; {
|
|
description = "Lightweight comic converter library between CBZ, PDF, and EPUB";
|
|
homepage = "https://github.com/potatoeggy/comicon";
|
|
license = licenses.agpl3Only;
|
|
maintainers = with maintainers; [ Scrumplex ];
|
|
};
|
|
}
|