mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
f8c4a98e8e
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/'
33 lines
884 B
Nix
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;
|
|
};
|
|
}
|