about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/home-assistant/custom-components/omnik_inverter/default.nix
blob: a0a33f644bac98056f62e82049d82a410d18928b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ 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 = "The 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;
  };
}