Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, curl-cffi, fetchFromGitHub, garth, pdm-backend, requests, ua-generator,}:
buildPythonPackage (finalAttrs: { pname = "garminconnect"; version = "0.3.20"; pyproject = true;
src = fetchFromGitHub { owner = "cyberjunky"; repo = "python-garminconnect"; tag = finalAttrs.version; hash = "sha256-3gVJTOIIGjIYqo5NvaIV/OHt0DxY16KCyokyJ9/bHiw="; };
pythonRelaxDeps = [ "garth" ];
build-system = [ pdm-backend ];
dependencies = [ curl-cffi garth requests ua-generator ];
# 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/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };})