Merge pull request #286914 from dotlambda/mandown-fix

python311Packages.mandown: fix build

authored by Weijia Wang and committed by GitHub 28430903 a3ed4692

+20 -8
+11 -3
pkgs/development/python-modules/comicon/default.nix
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , poetry-core 5 , ebooklib 6 , lxml 7 , pillow ··· 10 11 buildPythonPackage rec { 12 pname = "comicon"; 13 - version = "1.0.0"; 14 - format = "pyproject"; 15 16 src = fetchFromGitHub { 17 owner = "potatoeggy"; 18 repo = "comicon"; 19 rev = "v${version}"; 20 - hash = "sha256-D6nK+GlcG/XqMTH7h7mJcbZCRG2xDHRsnooSTtphDNs="; 21 }; 22 23 nativeBuildInputs = [ 24 poetry-core 25 ]; 26 27 propagatedBuildInputs = [ ··· 34 pythonImportsCheck = [ "comicon" ]; 35 36 meta = with lib; { 37 description = "Lightweight comic converter library between CBZ, PDF, and EPUB"; 38 homepage = "https://github.com/potatoeggy/comicon"; 39 license = licenses.agpl3Only;
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , poetry-core 5 + , pythonRelaxDepsHook 6 , ebooklib 7 , lxml 8 , pillow ··· 11 12 buildPythonPackage rec { 13 pname = "comicon"; 14 + version = "1.0.1"; 15 + pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "potatoeggy"; 19 repo = "comicon"; 20 rev = "v${version}"; 21 + hash = "sha256-e9YEr8IwttMlj6FOxk+/kw79qiF1N8/e2qusfw3WH00="; 22 }; 23 24 nativeBuildInputs = [ 25 poetry-core 26 + pythonRelaxDepsHook 27 + ]; 28 + 29 + pythonRelaxDeps = [ 30 + "lxml" 31 + "pillow" 32 ]; 33 34 propagatedBuildInputs = [ ··· 41 pythonImportsCheck = [ "comicon" ]; 42 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;
+9 -5
pkgs/development/python-modules/mandown/default.nix
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , poetry-core 5 , beautifulsoup4 6 , comicon 7 , feedparser ··· 18 buildPythonPackage rec { 19 pname = "mandown"; 20 version = "1.7.0"; 21 - format = "pyproject"; 22 23 src = fetchFromGitHub { 24 owner = "potatoeggy"; ··· 29 30 nativeBuildInputs = [ 31 poetry-core 32 ]; 33 34 propagatedBuildInputs = [ ··· 50 ]; 51 }; 52 53 - postPatch = '' 54 - substituteInPlace pyproject.toml --replace 'typer = "^0.7.0"' 'typer = "^0"' 55 - ''; 56 - 57 pythonImportsCheck = [ "mandown" ]; 58 59 meta = with lib; { 60 description = "Comic/manga/webtoon downloader and CBZ/EPUB/MOBI/PDF converter"; 61 homepage = "https://github.com/potatoeggy/mandown"; 62 license = licenses.agpl3Only;
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , poetry-core 5 + , pythonRelaxDepsHook 6 , beautifulsoup4 7 , comicon 8 , feedparser ··· 19 buildPythonPackage rec { 20 pname = "mandown"; 21 version = "1.7.0"; 22 + pyproject = true; 23 24 src = fetchFromGitHub { 25 owner = "potatoeggy"; ··· 30 31 nativeBuildInputs = [ 32 poetry-core 33 + pythonRelaxDepsHook 34 + ]; 35 + 36 + pythonRelaxDeps = [ 37 + "pillow" 38 + "typer" 39 ]; 40 41 propagatedBuildInputs = [ ··· 57 ]; 58 }; 59 60 pythonImportsCheck = [ "mandown" ]; 61 62 meta = with lib; { 63 + changelog = "https://github.com/potatoeggy/mandown/releases/tag/v${version}"; 64 description = "Comic/manga/webtoon downloader and CBZ/EPUB/MOBI/PDF converter"; 65 homepage = "https://github.com/potatoeggy/mandown"; 66 license = licenses.agpl3Only;