depot/third_party/nixpkgs/pkgs/servers/home-assistant/custom-components/gpio/package.nix

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