nixpkgs/pkgs/development/python-modules/comicon/default.nix
Sefa Eyeoglu 5efab0a0bf
python3Packages.comicon: init at 1.0.0
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-09-27 10:50:03 +02:00

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 ];
};
}