diff options
Diffstat (limited to 'pkgs/development/python-modules/weconnect/default.nix')
-rw-r--r-- | pkgs/development/python-modules/weconnect/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/weconnect/default.nix b/pkgs/development/python-modules/weconnect/default.nix index 70da78edb603e..794fde431671d 100644 --- a/pkgs/development/python-modules/weconnect/default.nix +++ b/pkgs/development/python-modules/weconnect/default.nix @@ -7,11 +7,12 @@ , pytestCheckHook , pythonOlder , requests +, oauthlib }: buildPythonPackage rec { pname = "weconnect"; - version = "0.28.0"; + version = "0.36.4"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,11 +21,12 @@ buildPythonPackage rec { owner = "tillsteinbach"; repo = "WeConnect-python"; rev = "v${version}"; - sha256 = "sha256-J7T62L6wT9rkl/Ukf2y5kBbJEdzh2XnGgCgedkxVEmA="; + sha256 = "sha256-B4RZftGngV85Trm0iPj50WAv1M0H+sjQ9ABiGh070/M="; }; propagatedBuildInputs = [ ascii-magic + oauthlib pillow requests ]; @@ -40,6 +42,8 @@ buildPythonPackage rec { substituteInPlace setup.py \ --replace "setup_requires=SETUP_REQUIRED," "setup_requires=[]," \ --replace "tests_require=TEST_REQUIRED," "tests_require=[]," + substituteInPlace requirements.txt \ + --replace "pillow~=9.0.0" "pillow" substituteInPlace pytest.ini \ --replace "--cov=weconnect --cov-config=.coveragerc --cov-report html" "" \ --replace "pytest-cov" "" |