python3Packages.toggl-cli: 2.1.0 -> 2.2.1
This commit is contained in:
parent
0f7b1d4a72
commit
059413e201
@ -4,6 +4,7 @@
|
|||||||
, factory_boy
|
, factory_boy
|
||||||
, faker
|
, faker
|
||||||
, inquirer
|
, inquirer
|
||||||
|
, notify-py
|
||||||
, pbr
|
, pbr
|
||||||
, pendulum
|
, pendulum
|
||||||
, ptable
|
, ptable
|
||||||
@ -11,7 +12,6 @@
|
|||||||
, pytestcov
|
, pytestcov
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
, requests
|
, requests
|
||||||
, setuptools
|
|
||||||
, twine
|
, twine
|
||||||
, validate-email
|
, validate-email
|
||||||
}:
|
}:
|
||||||
@ -19,22 +19,19 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "toggl-cli";
|
pname = "toggl-cli";
|
||||||
version = "2.1.0";
|
version = "2.2.1";
|
||||||
disabled = pythonOlder "3.5" || pythonAtLeast "3.8";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
pname = "togglCli";
|
pname = "togglCli";
|
||||||
inherit version;
|
inherit version;
|
||||||
sha256 = "0iirvvb8772569v28d36bnryksm1qkkw48d48fw26j7ka01qq6mm";
|
sha256 = "1izsxag98lvivkwf7724g2ak6icjak9jdqphaq1a79kwdnqprx1m";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace requirements.txt \
|
substituteInPlace requirements.txt \
|
||||||
--replace "pendulum==2.0.4" "pendulum>=2.0.4" \
|
--replace "inquirer==2.6.3" "inquirer>=2.6.3" \
|
||||||
--replace "click-completion==0.5.0" "click-completion>=0.5.0" \
|
--replace "notify-py==0.2.2" "notify-py>=0.2.2"
|
||||||
--replace "click==7.0" "click>=7.0" \
|
|
||||||
--replace "pbr==5.1.2" "pbr>=5.1.2" \
|
|
||||||
--replace "inquirer==2.5.1" "inquirer>=2.5.1"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ pbr twine ];
|
nativeBuildInputs = [ pbr twine ];
|
||||||
@ -53,15 +50,15 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
setuptools
|
|
||||||
click
|
click
|
||||||
click-completion
|
click-completion
|
||||||
validate-email
|
inquirer
|
||||||
|
notify-py
|
||||||
pendulum
|
pendulum
|
||||||
ptable
|
ptable
|
||||||
requests
|
requests
|
||||||
inquirer
|
|
||||||
pbr
|
pbr
|
||||||
|
validate-email
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
@ -71,4 +68,3 @@ buildPythonPackage rec {
|
|||||||
maintainers = [ maintainers.mmahut ];
|
maintainers = [ maintainers.mmahut ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user