piston-cli: fix build

This commit is contained in:
Robert Schütz 2023-07-14 08:04:38 -07:00
parent c283c92d90
commit 01fc7c527c

View file

@ -18,13 +18,14 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = with python3Packages; [ nativeBuildInputs = with python3Packages; [
poetry-core poetry-core
pythonRelaxDepsHook
]; ];
postPatch = '' pythonRelaxDeps = [
substituteInPlace pyproject.toml \ "rich"
--replace 'rich = "^10.1.0"' 'rich = "*"' \ "more-itertools"
--replace 'PyYAML = "^5.4.1"' 'PyYAML = "*"' "PyYAML"
''; ];
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin; broken = stdenv.isDarwin;