depot/third_party/nixpkgs/pkgs/development/python-modules/comicon/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +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 ];
};
}