nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildHomeAssistantComponent,
4 fetchFromGitHub,
5 frigidaire,
6}:
7buildHomeAssistantComponent rec {
8 owner = "bm1549";
9 domain = "frigidaire";
10 version = "0.1.6";
11
12 src = fetchFromGitHub {
13 inherit owner;
14 repo = "home-assistant-frigidaire";
15 tag = version;
16 hash = "sha256-KAg/DvDtUKA8GdapXlONC5zs8LLFdtZJZDeGrXNdcLQ=";
17 };
18
19 dependencies = [ frigidaire ];
20
21 # NOTE: The manifest.json specifies an exact version requirement for the
22 # frigidaire dependency
23 ignoreVersionRequirement = [ "frigidaire" ];
24
25 meta = {
26 description = "Custom component for the Frigidaire integration";
27 homepage = "https://github.com/bm1549/home-assistant-frigidaire";
28 maintainers = with lib.maintainers; [ nullcube ];
29 license = lib.licenses.mit;
30 };
31}