1{
2 lib,
3 buildHomeAssistantComponent,
4 fetchFromGitea,
5 libgpiod,
6}:
7
8buildHomeAssistantComponent rec {
9 owner = "raboof";
10 domain = "gpio";
11 version = "0.0.4";
12
13 src = fetchFromGitea {
14 domain = "codeberg.org";
15 owner = "raboof";
16 repo = "ha-gpio";
17 rev = "v${version}";
18 hash = "sha256-JyyJPI0lbZLJj+016WgS1KXU5rnxUmRMafel4/wKsYk=";
19 };
20
21 dependencies = [ libgpiod ];
22
23 meta = with lib; {
24 description = "Home Assistant GPIO custom integration";
25 homepage = "https://codeberg.org/raboof/ha-gpio";
26 maintainers = with maintainers; [ raboof ];
27 license = licenses.asl20;
28 };
29}