mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #167677 from mweinelt/revert-toggl-cli
This commit is contained in:
commit
e348744098
@ -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"' ""
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user