diff --git a/pkgs/development/python-modules/withings-sync/default.nix b/pkgs/development/python-modules/withings-sync/default.nix index 8f1468ab3993..928403789a33 100644 --- a/pkgs/development/python-modules/withings-sync/default.nix +++ b/pkgs/development/python-modules/withings-sync/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "withings-sync"; - version = "4.2.5"; + version = "4.2.6"; pyproject = true; disabled = pythonOlder "3.10"; @@ -21,9 +21,14 @@ buildPythonPackage rec { owner = "jaroslawhartman"; repo = "withings-sync"; rev = "refs/tags/v${version}"; - hash = "sha256-4gxJwe8v4trTysGBNORX7C54EUzFIPwpVLfKSNxJ8y4="; + hash = "sha256-rljzE/sEVBqG2vWcKmoC2fm9I06onMmDkf60rkq9k3g="; }; + postPatch = '' + substituteInPlace setup.py \ + --replace-fail 'read(".VERSION")' '"${version}"' + ''; + build-system = [ setuptools ]; dependencies = [