Skip to content

Commit

Permalink
openrgb-ha: init at 2-unstable-2024-10-2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrene committed Nov 10, 2024
1 parent ffa2bc0 commit 5b587e4
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions pkgs/openrgb-ha/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
lib,
buildHomeAssistantComponent,
fetchFromGitHub,
home-assistant,
}:

buildHomeAssistantComponent rec {
pname = "openrgb-ha";
version = "2-unstable-2024-10-2";

owner = "koying";
domain = "openrgb";

# src = fetchFromGitHub {
# owner = "koying";
# repo = "openrgb_ha";
# rev = "v${version}";
# hash = "sha256-Siu5tItrOWyzIHBw/EjfzgzE5NXMUFUnmXdMucRCVCs=";
# };

src = fetchFromGitHub {
owner = "Bluscream";
repo = "openrgb_ha";
rev = "dbdf34ca43d2def17f9590e6eab993e03b068ee6";
hash = "sha256-PvyzlK5LfqkgMoUErNLihXfVK3Uv6cNzPgp+DXIPRCM=";
};

# openrgb-python==0.3.1 expected, but got 0.3.2
dontCheckManifest = true;

dependencies = with home-assistant.python.pkgs; [
openrgb-python
];

meta = {
description = "OpenRGB integration for Home Assistant";
homepage = "https://github.com/koying/openrgb_ha";
license = lib.licenses.mit; # FIXME: nix-init did not find a license
maintainers = with lib.maintainers; [ ];
mainProgram = "openrgb-ha";
platforms = lib.platforms.linux;
};
}

0 comments on commit 5b587e4

Please sign in to comment.