14 buildPythonPackage rec {
19 disabled = pythonOlder "3.9";
22 inherit pname version;
23 hash = "sha256-1DhmFOIN+KrpIeyJnsaveCOJG2o7cbptKgk6jFF2QEo=";
26 pythonRelaxDeps = [ "requests-oauthlib" ];
28 build-system = [ pdm-backend ];
41 pythonImportsCheck = [ "garth" ];
44 # Tests require network access
52 "test_refresh_oauth2_token"
59 description = "Garmin SSO auth and connect client";
60 homepage = "https://github.com/matin/garth";
61 changelog = "https://github.com/matin/garth/releases/tag/${version}";
62 license = licenses.mit;
63 maintainers = with maintainers; [ fab ];