diff --git a/pkgs/development/python-modules/weconnect-mqtt/default.nix b/pkgs/development/python-modules/weconnect-mqtt/default.nix index d8ee33f4fcab..2a550085fb2f 100644 --- a/pkgs/development/python-modules/weconnect-mqtt/default.nix +++ b/pkgs/development/python-modules/weconnect-mqtt/default.nix @@ -6,23 +6,20 @@ pytest-cov-stub, pytestCheckHook, python-dateutil, - pythonOlder, setuptools, weconnect, }: buildPythonPackage rec { pname = "weconnect-mqtt"; - version = "0.49.2"; + version = "0.49.4"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "tillsteinbach"; repo = "WeConnect-mqtt"; tag = "v${version}"; - hash = "sha256-jTScDPTj7aIQcGuL2g8MvuYln6iaj6abEyCfd8vvT2I="; + hash = "sha256-I1//jAF7Exz5d+5B3lhcdokh7xlUoJUFryqTQwFqWuM="; }; postPatch = '' @@ -55,7 +52,7 @@ buildPythonPackage rec { meta = { description = "Python client that publishes data from Volkswagen WeConnect"; homepage = "https://github.com/tillsteinbach/WeConnect-mqtt"; - changelog = "https://github.com/tillsteinbach/WeConnect-mqtt/releases/tag/v${version}"; + changelog = "https://github.com/tillsteinbach/WeConnect-mqtt/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "weconnect-mqtt"; diff --git a/pkgs/development/python-modules/weconnect/default.nix b/pkgs/development/python-modules/weconnect/default.nix index ed1c14c863b5..dc47594440dd 100644 --- a/pkgs/development/python-modules/weconnect/default.nix +++ b/pkgs/development/python-modules/weconnect/default.nix @@ -5,25 +5,23 @@ fetchFromGitHub, oauthlib, pillow, + pyjwt, pytest-cov-stub, pytestCheckHook, - pythonOlder, requests, setuptools, }: buildPythonPackage rec { pname = "weconnect"; - version = "0.60.8"; + version = "0.60.10"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "tillsteinbach"; repo = "WeConnect-python"; tag = "v${version}"; - hash = "sha256-o8g409R+3lXlwPiDFi9eCzTwcDcZhMEMcc8a1YvlomM="; + hash = "sha256-ZvJoZ4mUNkUJ5sOxOHDsuxGZO2s3PSEfidt3aDfmBeg="; }; postPatch = '' @@ -40,6 +38,7 @@ buildPythonPackage rec { dependencies = [ oauthlib + pyjwt requests ]; @@ -62,7 +61,7 @@ buildPythonPackage rec { meta = with lib; { description = "Python client for the Volkswagen WeConnect Services"; homepage = "https://github.com/tillsteinbach/WeConnect-python"; - changelog = "https://github.com/tillsteinbach/WeConnect-python/releases/tag/v${version}"; + changelog = "https://github.com/tillsteinbach/WeConnect-python/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };