nixpkgs/pkgs/servers/home-assistant/custom-components/omnik_inverter/default.nix
Alexis Hildebrandt f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00

33 lines
884 B
Nix

{ lib
, fetchFromGitHub
, buildHomeAssistantComponent
, omnikinverter
}:
buildHomeAssistantComponent rec {
owner = "robbinjanssen";
domain = "omnik_inverter";
version = "2.6.4";
src = fetchFromGitHub {
owner = "robbinjanssen";
repo = "home-assistant-omnik-inverter";
rev = "refs/tags/v${version}";
hash = "sha256-O1NxT7u27xLydPqEqH72laU0tlYVrMPo0TwWIVNJ+0Q=";
};
propagatedBuildInputs = [
omnikinverter
];
doCheck = false; # no tests
meta = with lib; {
changelog = "https://github.com/robbinjanssen/home-assistant-omnik-inverter/releases/tag/v${version}";
description = "Omnik Inverter integration will scrape data from an Omnik inverter connected to your local network";
homepage = "https://github.com/robbinjanssen/home-assistant-omnik-inverter";
maintainers = with maintainers; [ _9R ];
license = licenses.mit;
};
}