diff --git a/pkgs/development/python-modules/withings-sync/default.nix b/pkgs/development/python-modules/withings-sync/default.nix index 210033536aeb..9a55b19272d7 100644 --- a/pkgs/development/python-modules/withings-sync/default.nix +++ b/pkgs/development/python-modules/withings-sync/default.nix @@ -10,21 +10,21 @@ requests, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "withings-sync"; - version = "5.3.0"; + version = "5.3.2"; pyproject = true; src = fetchFromGitHub { owner = "jaroslawhartman"; repo = "withings-sync"; - tag = "v${version}"; - hash = "sha256-Q9zOXQIdl4jpCK6a5Xp4kZK67MqudX0thDAkRmdL3AQ="; + tag = "v${finalAttrs.version}"; + hash = "sha256-1pDM5paSXPQCOG5LRFxnp19K1iHcsfrGC9e7SEyxUDs="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail "1.0.0.dev1" "${version}" + --replace-fail "1.0.0.dev1" "${finalAttrs.version}" ''; build-system = [ poetry-core ]; @@ -42,9 +42,9 @@ buildPythonPackage rec { meta = { description = "Synchronisation of Withings weight"; homepage = "https://github.com/jaroslawhartman/withings-sync"; - changelog = "https://github.com/jaroslawhartman/withings-sync/releases/tag/${src.tag}"; + changelog = "https://github.com/jaroslawhartman/withings-sync/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "withings-sync"; }; -} +})