nixpkgs/pkgs/servers/home-assistant/custom-components/awtrix/package.nix
Zhong Jianxin 08eee7bd7a home-assistant-custom-components.*: make use of lib.packagesFromDirectoryRecursive
So we don't need to manually maintain `pkgs/servers/home-assistant/custom-components/default.nix` anymore
2024-10-21 20:56:43 +08:00

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