Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748{ lib, buildPythonPackage, fetchFromGitHub, setuptools, curl-cffi, pydantic, pytest-asyncio, pytestCheckHook, requests,}:
buildPythonPackage (finalAttrs: { pname = "ha-garmin"; version = "0.1.55"; pyproject = true;
src = fetchFromGitHub { owner = "cyberjunky"; repo = "ha-garmin"; tag = "v${finalAttrs.version}"; hash = "sha256-AnijX2HG29dG3duWMuhcvYCjQto+XfxAu9oF7X4hdR0="; };
build-system = [ setuptools ];
dependencies = [ curl-cffi pydantic requests ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "ha_garmin" ];
meta = { description = "Python client for Garmin Connect API, designed for Home Assistant integration"; homepage = "https://github.com/cyberjunky/ha-garmin"; changelog = "https://github.com/cyberjunky/ha-garmin/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = [ lib.maintainers.jamiemagee ]; };})