From 628f796c5a22b111b0b96957f078fb78ac0cbe7d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 20 Aug 2024 16:38:24 +0000 Subject: [PATCH 1/2] python312Packages.withings-sync: 4.2.4 -> 4.2.5 --- pkgs/development/python-modules/withings-sync/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/withings-sync/default.nix b/pkgs/development/python-modules/withings-sync/default.nix index 638369a3314e..8de6f43c85d3 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.4"; + version = "4.2.5"; pyproject = true; disabled = pythonOlder "3.10"; @@ -20,8 +20,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "jaroslawhartman"; repo = "withings-sync"; - rev = "refs/tags/v.${version}"; - hash = "sha256-nFYEtQob3x6APWDKCVP5p+qkKmgvXIcmegp/6ZRbDQA="; + rev = "refs/tags/v${version}"; + hash = "sha256-4gxJwe8v4trTysGBNORX7C54EUzFIPwpVLfKSNxJ8y4="; }; nativeBuildInputs = [ setuptools ]; From 711c7c827f9a2d1f844bced7ea53213c3f4a2271 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 20 Aug 2024 20:11:14 +0200 Subject: [PATCH 2/2] python312Packages.withings-sync: refactor --- pkgs/development/python-modules/withings-sync/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/withings-sync/default.nix b/pkgs/development/python-modules/withings-sync/default.nix index 8de6f43c85d3..8f1468ab3993 100644 --- a/pkgs/development/python-modules/withings-sync/default.nix +++ b/pkgs/development/python-modules/withings-sync/default.nix @@ -24,9 +24,9 @@ buildPythonPackage rec { hash = "sha256-4gxJwe8v4trTysGBNORX7C54EUzFIPwpVLfKSNxJ8y4="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ garth lxml python-dotenv @@ -37,10 +37,10 @@ buildPythonPackage rec { meta = with lib; { description = "Synchronisation of Withings weight"; - mainProgram = "withings-sync"; homepage = "https://github.com/jaroslawhartman/withings-sync"; changelog = "https://github.com/jaroslawhartman/withings-sync/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab ]; + mainProgram = "withings-sync"; }; }