From 707a0363db06b3d5cbeedf5afb4cc5ff6f6de1da Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 28 Mar 2026 17:38:44 +0000 Subject: [PATCH 1/2] python3Packages.withings-sync: 5.3.0 -> 5.3.2 --- pkgs/development/python-modules/withings-sync/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/withings-sync/default.nix b/pkgs/development/python-modules/withings-sync/default.nix index 210033536aeb..90a3657447ee 100644 --- a/pkgs/development/python-modules/withings-sync/default.nix +++ b/pkgs/development/python-modules/withings-sync/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { 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="; + hash = "sha256-1pDM5paSXPQCOG5LRFxnp19K1iHcsfrGC9e7SEyxUDs="; }; postPatch = '' From 7f106c61e06817eec7a51084f5a998de027910e8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 29 Mar 2026 13:56:34 +0200 Subject: [PATCH 2/2] python3Packages.withings-sync: migrate to finalAttrs --- .../python-modules/withings-sync/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/withings-sync/default.nix b/pkgs/development/python-modules/withings-sync/default.nix index 90a3657447ee..9a55b19272d7 100644 --- a/pkgs/development/python-modules/withings-sync/default.nix +++ b/pkgs/development/python-modules/withings-sync/default.nix @@ -10,7 +10,7 @@ requests, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "withings-sync"; version = "5.3.2"; pyproject = true; @@ -18,13 +18,13 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "jaroslawhartman"; repo = "withings-sync"; - tag = "v${version}"; + 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"; }; -} +})