Merge pull request #167677 from mweinelt/revert-toggl-cli

This commit is contained in:
Martin Weinelt 2022-04-07 12:26:03 +02:00 committed by GitHub
commit e348744098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@
buildPythonPackage rec {
pname = "toggl-cli";
version = "3";
version = "2.4.3";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -28,7 +28,7 @@ buildPythonPackage rec {
src = fetchPypi {
pname = "togglCli";
inherit version;
sha256 = "sha256-SkA/u1q//AyYn0v6uAXXsjANhFppxxjKhlhWhsK649w=";
sha256 = "sha256-ncMwiMwYivaFu5jrAsm1oCuXP/PZ2ALT+M+CmV6dtFo=";
};
nativeBuildInputs = [
@ -58,8 +58,9 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace requirements.txt \
--replace "notify-py==0.3.1" "notify-py>=0.3.1" \
--replace "click==7.1.2" "click>=7.1.2" \
--replace "pbr==5.5.1" "pbr>=5.5.1"
--replace "click==8.0.3" "click>=8.0.3" \
--replace "pbr==5.8.0" "pbr>=5.8.0" \
--replace "inquirer==2.9.1" "inquirer>=2.9.1"
substituteInPlace pytest.ini \
--replace ' --cov toggl -m "not premium"' ""
'';