depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-components/average/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

25 lines
551 B
Nix

{
lib,
buildHomeAssistantComponent,
fetchFromGitHub,
}:
buildHomeAssistantComponent rec {
owner = "Limych";
domain = "average";
version = "2.3.4";
src = fetchFromGitHub {
inherit owner;
repo = "ha-average";
rev = version;
hash = "sha256-PfN2F1/ScVScXfh5jKQDZ6rK4XlqD9+YW8k4f4i3bk0=";
};
meta = with lib; {
description = "Average Sensor for Home Assistant";
homepage = "https://github.com/Limych/ha-average";
maintainers = with maintainers; [ matthiasbeyer ];
license = licenses.cc-by-nc-40;
};
}