about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/home-assistant/custom-components/gpio/default.nix
blob: ff06822d664aaaa99cd87751f371b2aff2ce03f4 (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
{ lib
, buildHomeAssistantComponent
, fetchFromGitea
, libgpiod
}:

buildHomeAssistantComponent rec {
  owner = "raboof";
  domain = "gpio";
  version = "0.0.4";

  src = fetchFromGitea {
    domain = "codeberg.org";
    owner = "raboof";
    repo = "ha-gpio";
    rev = "v${version}";
    hash = "sha256-JyyJPI0lbZLJj+016WgS1KXU5rnxUmRMafel4/wKsYk=";
  };

  propagatedBuildInputs = [ libgpiod ];

  meta = with lib; {
    description = "Home Assistant GPIO custom integration";
    homepage = "https://codeberg.org/raboof/ha-gpio";
    maintainers = with maintainers; [ raboof ];
    license = licenses.asl20;
  };
}