mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
Merge pull request #282370 from raboof/home-assistant-custom-component-gpio
home-assistant-custom-components.gpio: init at 0.0.2
This commit is contained in:
commit
cbfef63465
@ -6,6 +6,8 @@
|
||||
|
||||
govee-lan = callPackage ./govee-lan {};
|
||||
|
||||
gpio = callPackage ./gpio {};
|
||||
|
||||
miele = callPackage ./miele {};
|
||||
|
||||
prometheus_sensor = callPackage ./prometheus_sensor {};
|
||||
|
@ -0,0 +1,28 @@
|
||||
{ lib
|
||||
, buildHomeAssistantComponent
|
||||
, fetchFromGitea
|
||||
, libgpiod
|
||||
}:
|
||||
|
||||
buildHomeAssistantComponent rec {
|
||||
owner = "raboof";
|
||||
domain = "gpio";
|
||||
version = "0.0.2";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "raboof";
|
||||
repo = "ha-gpio";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-oito5W7uQYgxUQFIynW9G7jbIpmFONWC8FslRdX3gsE=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user