pythonPackages.poetry: Fix build
commitbfac72b276ef87acea54afd55fdde1b17fe99d7d
authorSilvan Mosberger <infinisil@icloud.com>
dateMon 11 Mar 2019, 16:49 (8 years ago)
parent2dd3253
pkgs/development/python-modules/poetry/default.nix+3−2
@@ -40,8 +40,9 @@ in buildPythonPackage rec {
4040 };
4141
4242 postPatch = ''
43− substituteInPlace pyproject.toml --replace "3.0a3" "3.0.0a3"
44− substituteInPlace setup.py --replace "3.0a3" "3.0.0a3"
43+ substituteInPlace setup.py --replace \
44+ "requests-toolbelt>=0.8.0,<0.9.0" \
45+ "requests-toolbelt>=0.8.0,<0.10.0"
4546 '';
4647
4748 propagatedBuildInputs = [