1{
2 lib,
3 fetchFromGitHub,
4 buildHomeAssistantComponent,
5 beautifulsoup4,
6}:
7
8buildHomeAssistantComponent rec {
9 owner = "mampfes";
10 domain = "epex_spot";
11 version = "3.0.0";
12
13 src = fetchFromGitHub {
14 owner = "mampfes";
15 repo = "ha_epex_spot";
16 tag = version;
17 hash = "sha256-UaPgf0861TaSgawjJCyNjs8hRE5L5vWnyoXENrzCfb4=";
18 };
19
20 dependencies = [
21 beautifulsoup4
22 ];
23
24 #skip phases without activity
25 dontConfigure = true;
26 doCheck = false;
27
28 meta = with lib; {
29 changelog = "https://github.com/mampfes/ha_epex_spot/releases/tag/${version}";
30 description = "This component adds electricity prices from stock exchange EPEX Spot to Home Assistant";
31 homepage = "https://github.com/mampfes/ha_epex_spot";
32 maintainers = with maintainers; [ _9R ];
33 license = licenses.mit;
34 };
35}