Unverified Commit 4c4d3971 authored by Matthias Beyer's avatar Matthias Beyer
Browse files

home-assistant-custom-components.garmin_connect: init at unstable-2024-08-31



This packages the garmin_connect component from cyberjunky.

I decided to not package the latest release, but the master branch,
because the latest release hard depends on a specific version of
python3Packages.garminconnect. The master branch does not.

Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
parent c0709c16
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -22,6 +22,8 @@

  frigate = callPackage ./frigate {};

  garmin_connect = callPackage ./garmin_connect {};

  govee-lan = callPackage ./govee-lan {};

  gpio = callPackage ./gpio {};
+32 −0
Original line number Diff line number Diff line
{
  lib,
  buildHomeAssistantComponent,
  fetchFromGitHub,
  garminconnect,
  tzlocal,
}:

buildHomeAssistantComponent {
  owner = "cyberjunky";
  domain = "garmin_connect";
  version = "unstable-2024-08-31";

  src = fetchFromGitHub {
    owner = "cyberjunky";
    repo = "home-assistant-garmin_connect";
    rev = "d42edcabc67ba6a7f960e849c8aaec1aabef87c0";
    hash = "sha256-KqbP6TpH9B0/AjtsW5TcWSNgUhND+w8rO6X8fHqtsDI=";
  };

  propagatedBuildInputs = [
    garminconnect
    tzlocal
  ];

  meta = with lib; {
    description = "The Garmin Connect integration allows you to expose data from Garmin Connect to Home Assistant";
    homepage = "https://github.com/cyberjunky/home-assistant-garmin_connect";
    maintainers = with maintainers; [ matthiasbeyer ];
    license = licenses.mit;
  };
}