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:
parent
bdf02de121
commit
ced3381722
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user