depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-components/gpio/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

28 lines
619 B
Nix

{ 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;
};
}