python312Packages.comicon: refactor

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>

+16 -13
+16 -13
pkgs/development/python-modules/comicon/default.nix
··· 1 1 { 2 - lib, 3 2 buildPythonPackage, 4 - fetchFromGitHub, 5 - poetry-core, 6 - pythonOlder, 7 3 ebooklib, 4 + fetchFromGitHub, 5 + lib, 8 6 lxml, 7 + nix-update-script, 9 8 pillow, 9 + poetry-core, 10 10 pypdf, 11 11 python-slugify, 12 + pythonOlder, 12 13 }: 13 14 14 15 buildPythonPackage rec { ··· 24 25 hash = "sha256-jZ/ZhSFg0ZPTYI10s8Cn1s9UZRFFnuLjS96lnUFVekQ="; 25 26 }; 26 27 27 - nativeBuildInputs = [ 28 + build-system = [ 28 29 poetry-core 29 30 ]; 30 31 31 - pythonRelaxDeps = [ 32 - "pillow" 33 - ]; 34 - 35 - propagatedBuildInputs = [ 32 + dependencies = [ 36 33 ebooklib 37 34 lxml 38 35 pillow ··· 40 37 python-slugify 41 38 ]; 42 39 40 + pythonRelaxDeps = [ 41 + "pillow" 42 + ]; 43 + 43 44 doCheck = false; # test artifacts are not public 44 45 45 46 pythonImportsCheck = [ "comicon" ]; 46 47 47 - meta = with lib; { 48 + passthru.updateScript = nix-update-script { }; 49 + 50 + meta = { 48 51 changelog = "https://github.com/potatoeggy/comicon/releases/tag/v${version}"; 49 52 description = "Lightweight comic converter library between CBZ, PDF, and EPUB"; 50 53 homepage = "https://github.com/potatoeggy/comicon"; 51 - license = licenses.agpl3Only; 52 - maintainers = with maintainers; [ Scrumplex ]; 54 + license = lib.licenses.agpl3Only; 55 + maintainers = with lib.maintainers; [ Scrumplex ]; 53 56 }; 54 57 }