mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 20:00:10 +00:00
On PyPI the package is called gpiod and that's also what's listed as its name in the METADATA file.
29 lines
585 B
Nix
29 lines
585 B
Nix
{
|
|
lib,
|
|
buildHomeAssistantComponent,
|
|
fetchFromCodeberg,
|
|
gpiod,
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "raboof";
|
|
domain = "gpio";
|
|
version = "0.0.4";
|
|
|
|
src = fetchFromCodeberg {
|
|
owner = "raboof";
|
|
repo = "ha-gpio";
|
|
rev = "v${version}";
|
|
hash = "sha256-JyyJPI0lbZLJj+016WgS1KXU5rnxUmRMafel4/wKsYk=";
|
|
};
|
|
|
|
dependencies = [ gpiod ];
|
|
|
|
meta = {
|
|
description = "Home Assistant GPIO custom integration";
|
|
homepage = "https://codeberg.org/raboof/ha-gpio";
|
|
maintainers = with lib.maintainers; [ raboof ];
|
|
license = lib.licenses.asl20;
|
|
};
|
|
}
|