Something went wrong. Try again.
lol
Something went wrong. Try again.
949 B · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub, garth, pdm-backend, requests, withings-sync,}:
buildPythonPackage rec { pname = "garminconnect"; version = "0.2.40"; pyproject = true;
src = fetchFromGitHub { owner = "cyberjunky"; repo = "python-garminconnect"; tag = version; hash = "sha256-EAmKrOmnJFn+vTfmAprd5onqW/uyOe/shSB1u0HVrIE="; };
pythonRelaxDeps = [ "garth" "withings-sync" ];
build-system = [ pdm-backend ];
dependencies = [ garth requests withings-sync ];
# Tests require a token doCheck = false;
pythonImportsCheck = [ "garminconnect" ];
meta = { description = "Garmin Connect Python API wrapper"; homepage = "https://github.com/cyberjunky/python-garminconnect"; changelog = "https://github.com/cyberjunky/python-garminconnect/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };}