python3Packages.toggl-cli: relax pendulum bounds

* toggl-cli fails to compile with pendulum 2.0.5
    * toggl-cli needs `pkg_resources` from `setuptools`
This commit is contained in:
Pavel Chuprikov 2019-12-30 14:59:56 +01:00
parent bdf02de121
commit ced3381722

View File

@ -1,5 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi, twine, pbr, click, click-completion, validate-email, { stdenv, buildPythonPackage, fetchPypi, twine, pbr, click, click-completion, validate-email,
pendulum, ptable, requests, inquirer, pythonOlder, pytest, pytestcov, pytest-mock, faker, factory_boy }: pendulum, ptable, requests, inquirer, pythonOlder, pytest, pytestcov, pytest-mock, faker, factory_boy,
setuptools }:
buildPythonPackage rec { buildPythonPackage rec {
@ -16,6 +17,7 @@ buildPythonPackage rec {
postPatch = '' postPatch = ''
substituteInPlace requirements.txt \ substituteInPlace requirements.txt \
--replace "pendulum==2.0.4" "pendulum>=2.0.4" \
--replace "click-completion==0.5.0" "click-completion>=0.5.0" \ --replace "click-completion==0.5.0" "click-completion>=0.5.0" \
--replace "pbr==5.1.2" "pbr>=5.1.2" \ --replace "pbr==5.1.2" "pbr>=5.1.2" \
--replace "inquirer==2.5.1" "inquirer>=2.5.1" --replace "inquirer==2.5.1" "inquirer>=2.5.1"
@ -37,6 +39,7 @@ buildPythonPackage rec {
''; '';
propagatedBuildInputs = [ propagatedBuildInputs = [
setuptools
click click
click-completion click-completion
validate-email validate-email