mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
08eee7bd7a
So we don't need to manually maintain `pkgs/servers/home-assistant/custom-components/default.nix` anymore
31 lines
696 B
Nix
31 lines
696 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, buildHomeAssistantComponent
|
|
, requests
|
|
}:
|
|
|
|
buildHomeAssistantComponent rec {
|
|
owner = "10der";
|
|
domain = "awtrix";
|
|
version = "unstable-2024-05-26";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit owner;
|
|
repo = "homeassistant-custom_components-awtrix";
|
|
rev = "329d8eec28478574b9f34778f96b5768f30be2ab";
|
|
hash = "sha256-ucSaQWMS6ZwXHnw5Ct/STxpl1JjBRua3edrLvBAsdyw=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Home-assistant integration for awtrix";
|
|
homepage = "https://github.com/10der/homeassistant-custom_components-awtrix";
|
|
maintainers = with maintainers; [ pinpox ];
|
|
license = licenses.mit;
|
|
};
|
|
}
|
|
|