nixpkgs/pkgs/servers/home-assistant/custom-components/garmin_connect/package.nix
Zhong Jianxin 08eee7bd7a home-assistant-custom-components.*: make use of lib.packagesFromDirectoryRecursive
So we don't need to manually maintain `pkgs/servers/home-assistant/custom-components/default.nix` anymore
2024-10-21 20:56:43 +08:00

36 lines
828 B
Nix

{
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
dmadisetti
];
license = licenses.mit;
};
}