python311Packages.mandown: unpin pillow

This commit is contained in:
Robert Schütz
2024-02-06 22:43:47 -08:00
parent b8a1ff8e2d
commit 25f8533f88
@@ -2,6 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pythonRelaxDepsHook
, beautifulsoup4
, comicon
, feedparser
@@ -18,7 +19,7 @@
buildPythonPackage rec {
pname = "mandown";
version = "1.7.0";
format = "pyproject";
pyproject = true;
src = fetchFromGitHub {
owner = "potatoeggy";
@@ -29,6 +30,12 @@ buildPythonPackage rec {
nativeBuildInputs = [
poetry-core
pythonRelaxDepsHook
];
pythonRelaxDeps = [
"pillow"
"typer"
];
propagatedBuildInputs = [
@@ -50,10 +57,6 @@ buildPythonPackage rec {
];
};
postPatch = ''
substituteInPlace pyproject.toml --replace 'typer = "^0.7.0"' 'typer = "^0"'
'';
pythonImportsCheck = [ "mandown" ];
meta = with lib; {