pythonPackages.poetry: Fix build

This commit is contained in:
Silvan Mosberger 2019-03-11 16:49:22 +01:00
parent 2dd3253079
commit bfac72b276
No known key found for this signature in database
GPG Key ID: 9424360B4B85C9E7

View File

@ -40,8 +40,9 @@ in buildPythonPackage rec {
};
postPatch = ''
substituteInPlace pyproject.toml --replace "3.0a3" "3.0.0a3"
substituteInPlace setup.py --replace "3.0a3" "3.0.0a3"
substituteInPlace setup.py --replace \
"requests-toolbelt>=0.8.0,<0.9.0" \
"requests-toolbelt>=0.8.0,<0.10.0"
'';
propagatedBuildInputs = [