diff --git a/pkgs/by-name/ga/garmindb/package.nix b/pkgs/by-name/ga/garmindb/package.nix index b7093d52b441..c5f19b89e90c 100644 --- a/pkgs/by-name/ga/garmindb/package.nix +++ b/pkgs/by-name/ga/garmindb/package.nix @@ -17,10 +17,18 @@ python3Packages.buildPythonApplication rec { hash = "sha256-JAUDAYf9CH/BxwV88ziF5Zy+3ibcbieEfHrZpHSU8m0="; }; - build-system = [ - python3Packages.setuptools + pythonRelaxDeps = [ + "sqlalchemy" + "cached-property" + "garth" + "tqdm" + "fitfile" + "tcxfile" + "idbutils" ]; + build-system = with python3Packages; [ setuptools ]; + dependencies = with python3Packages; [ sqlalchemy python-dateutil @@ -33,15 +41,6 @@ python3Packages.buildPythonApplication rec { tornado ]; - pythonRelaxDeps = [ - "sqlalchemy" - "cached-property" - "tqdm" - "fitfile" - "tcxfile" - "idbutils" - ]; - # require data files disabledTestPaths = [ "test/test_activities_db.py" @@ -64,9 +63,12 @@ python3Packages.buildPythonApplication rec { writableTmpDirAsHomeHook ]; + pythonImportsCheck = [ "garmindb" ]; + meta = { description = "Download and parse data from Garmin Connect or a Garmin watch"; homepage = "https://github.com/tcgoetz/GarminDB"; + changelog = "https://github.com/tcgoetz/GarminDB/releases/tag/${src.tag}"; license = lib.licenses.gpl2Only; platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ ethancedwards8 ]; diff --git a/pkgs/development/python-modules/garminconnect/default.nix b/pkgs/development/python-modules/garminconnect/default.nix index cee048cbaa87..988f6427188c 100644 --- a/pkgs/development/python-modules/garminconnect/default.nix +++ b/pkgs/development/python-modules/garminconnect/default.nix @@ -23,7 +23,10 @@ buildPythonPackage rec { hash = "sha256-V+i+e1McE9YFVuq2fuQtD3RKTHw9u3u0bZ2zCi9yZCM="; }; - pythonRelaxDeps = [ "withings-sync" ]; + pythonRelaxDeps = [ + "garth" + "withings-sync" + ]; build-system = [ pdm-backend ]; diff --git a/pkgs/development/python-modules/garth/default.nix b/pkgs/development/python-modules/garth/default.nix index 63a00ab0a1e0..92fdef89b655 100644 --- a/pkgs/development/python-modules/garth/default.nix +++ b/pkgs/development/python-modules/garth/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "garth"; - version = "0.5.2"; + version = "0.5.3"; pyproject = true; disabled = pythonOlder "3.10"; src = fetchPypi { inherit pname version; - hash = "sha256-WUrK/ieYnao/+8hGDK8GOAI1nGsfQMmP/Tsh9prcbgk="; + hash = "sha256-cyqXCkfkpd71VqguZFOA4bO/dOkKBZkEzJ6BVLCBWFA="; }; pythonRelaxDeps = [ "requests-oauthlib" ];