Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / comicon / default.nix
blob04382d3ee340a74cb58a2ff366d37783d8a1e8d2
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , poetry-core
5 , pythonRelaxDepsHook
6 , ebooklib
7 , lxml
8 , pillow
9 , pypdf
12 buildPythonPackage rec {
13   pname = "comicon";
14   version = "1.0.1";
15   pyproject = true;
17   src = fetchFromGitHub {
18     owner = "potatoeggy";
19     repo = "comicon";
20     rev = "v${version}";
21     hash = "sha256-e9YEr8IwttMlj6FOxk+/kw79qiF1N8/e2qusfw3WH00=";
22   };
24   nativeBuildInputs = [
25     poetry-core
26     pythonRelaxDepsHook
27   ];
29   pythonRelaxDeps = [
30     "lxml"
31     "pillow"
32   ];
34   propagatedBuildInputs = [
35     ebooklib
36     lxml
37     pillow
38     pypdf
39   ];
41   pythonImportsCheck = [ "comicon" ];
43   meta = with lib; {
44     changelog = "https://github.com/potatoeggy/comicon/releases/tag/v${version}";
45     description = "Lightweight comic converter library between CBZ, PDF, and EPUB";
46     homepage = "https://github.com/potatoeggy/comicon";
47     license = licenses.agpl3Only;
48     maintainers = with maintainers; [ Scrumplex ];
49   };