python3Packages.comicon: init at 1.0.0

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-07-25 11:37:11 +02:00
parent cea0b7b837
commit 5efab0a0bf
No known key found for this signature in database
GPG key ID: E13DFD4B47127951
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,42 @@
{ 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 ];
};
}

View file

@ -1825,6 +1825,8 @@ self: super: with self; {
inherit (pkgs) secp256k1;
};
comicon = callPackage ../development/python-modules/comicon { };
connect-box = callPackage ../development/python-modules/connect_box { };
connection-pool = callPackage ../development/python-modules/connection-pool { };