Loading pkgs/development/python-modules/garminconnect/default.nix +5 −5 Original line number Diff line number Diff line { lib , buildPythonPackage , cloudscraper , fetchFromGitHub , garth , pdm-backend , pythonOlder , requests , withings-sync }: buildPythonPackage rec { pname = "garminconnect"; version = "0.2.8"; version = "0.2.9"; format = "pyproject"; disabled = pythonOlder "3.7"; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "cyberjunky"; repo = "python-garminconnect"; rev = "refs/tags/${version}"; hash = "sha256-jNDFSA6Mz0+7UhEVrCKcKDEX3B7yk6igBf59A6YlW2M="; hash = "sha256-wQWOksI0nfzIMdxgZehMmNytuXWD22GLUNoI7Ki0C3s="; }; nativeBuildInputs = [ Loading @@ -27,9 +27,9 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ cloudscraper garth requests withings-sync ]; # Tests require a token Loading pkgs/development/python-modules/withings-sync/default.nix 0 → 100644 +48 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , garth , lxml , pythonOlder , requests , setuptools , wheel }: buildPythonPackage rec { pname = "withings-sync"; version = "4.2.1"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "jaroslawhartman"; repo = "withings-sync"; rev = "refs/tags/v${version}"; hash = "sha256-6igjUmgIA077/1SQMt10tRpnLVKxGFNJN1GeLhQLROg="; }; nativeBuildInputs = [ setuptools wheel ]; propagatedBuildInputs = [ garth lxml requests ]; pythonImportsCheck = [ "withings_sync" ]; meta = with lib; { description = "Synchronisation of Withings weight"; 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 ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -15666,6 +15666,8 @@ self: super: with self; { withings-api = callPackage ../development/python-modules/withings-api { }; withings-sync = callPackage ../development/python-modules/withings-sync { }; wktutils = callPackage ../development/python-modules/wktutils { }; wled = callPackage ../development/python-modules/wled { }; Loading
pkgs/development/python-modules/garminconnect/default.nix +5 −5 Original line number Diff line number Diff line { lib , buildPythonPackage , cloudscraper , fetchFromGitHub , garth , pdm-backend , pythonOlder , requests , withings-sync }: buildPythonPackage rec { pname = "garminconnect"; version = "0.2.8"; version = "0.2.9"; format = "pyproject"; disabled = pythonOlder "3.7"; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "cyberjunky"; repo = "python-garminconnect"; rev = "refs/tags/${version}"; hash = "sha256-jNDFSA6Mz0+7UhEVrCKcKDEX3B7yk6igBf59A6YlW2M="; hash = "sha256-wQWOksI0nfzIMdxgZehMmNytuXWD22GLUNoI7Ki0C3s="; }; nativeBuildInputs = [ Loading @@ -27,9 +27,9 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ cloudscraper garth requests withings-sync ]; # Tests require a token Loading
pkgs/development/python-modules/withings-sync/default.nix 0 → 100644 +48 −0 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , garth , lxml , pythonOlder , requests , setuptools , wheel }: buildPythonPackage rec { pname = "withings-sync"; version = "4.2.1"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "jaroslawhartman"; repo = "withings-sync"; rev = "refs/tags/v${version}"; hash = "sha256-6igjUmgIA077/1SQMt10tRpnLVKxGFNJN1GeLhQLROg="; }; nativeBuildInputs = [ setuptools wheel ]; propagatedBuildInputs = [ garth lxml requests ]; pythonImportsCheck = [ "withings_sync" ]; meta = with lib; { description = "Synchronisation of Withings weight"; 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 ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -15666,6 +15666,8 @@ self: super: with self; { withings-api = callPackage ../development/python-modules/withings-api { }; withings-sync = callPackage ../development/python-modules/withings-sync { }; wktutils = callPackage ../development/python-modules/wktutils { }; wled = callPackage ../development/python-modules/wled { };