This commit is contained in:
mjallen18
2025-08-23 10:26:12 -05:00
parent a96b8ddf86
commit bc18b0775b
43 changed files with 796 additions and 177 deletions

View File

@@ -0,0 +1,31 @@
{
buildHomeAssistantComponent,
pkgs,
namespace,
...
}:
buildHomeAssistantComponent rec {
owner = "adamoutler";
domain = "anycubic_wifi";
version = "HACS-10";
src = pkgs.fetchFromGitHub {
owner = owner;
repo = "anycubic-homeassistant";
rev = version;
hash = "sha256-TfZadwgdEJR11MaL+nfIgEYld3trWg3v6lOHSoxQ98Q=";
};
# PYTHONPATH = [ "${src}/uart-wifi" ];
propagatedBuildInputs = [
pkgs.${namespace}.uart-wifi
];
meta = {
changelog = "https://github.com/adamoutler/anycubic-homeassistant/releases/tag/${version}";
description = "This is a library to provide support for Mono X Printers.";
homepage = "https://github.com/adamoutler/anycubic-homeassistant";
maintainers = [ ];
};
}

View File

@@ -0,0 +1,29 @@
{
buildHomeAssistantComponent,
python3Packages,
fetchFromGitHub,
...
}:
buildHomeAssistantComponent rec {
owner = "greghesp";
domain = "bambu_lab";
version = "v2.1.27";
src = fetchFromGitHub {
owner = owner;
repo = "ha-bambulab";
rev = version;
hash = "sha256-zHPXPYsHrJXOnSqllZqDrxGZDDqyXllC3XEGZRJil0Q=";
};
propagatedBuildInputs = with python3Packages; [
beautifulsoup4
];
meta = {
changelog = "https://github.com/greghesp/ha-bambulab/releases/tag/${version}";
description = "A Home Assistant Integration for Bambu Lab printers.";
homepage = "https://github.com/greghesp/ha-bambulab";
maintainers = [ ];
};
}

View File

@@ -0,0 +1,38 @@
{
buildHomeAssistantComponent,
fetchFromGitHub,
python3Packages,
namespace,
...
}:
buildHomeAssistantComponent rec {
owner = "simbaja";
domain = "ge_home";
version = "v2025.7.0";
src = fetchFromGitHub {
owner = owner;
repo = "ha_gehome";
rev = version;
hash = "sha256-sCOXzrbUpbRb09QDpcm1Pbr2Xxsg0q3Ecc+tAQv2pXk=";
};
propagatedBuildInputs = with python3Packages; [
gehomesdk
slixmpp
pkgs.${namespace}.magicattr
];
postPatch = ''
substituteInPlace custom_components/ge_home/manifest.json \
--replace '"slixmpp==1.8.3"' '"slixmpp>=1.8.3"'
'';
meta = {
changelog = "https://github.com/simbaja/ha_gehome/releases/tag/${version}";
description = "Integration for GE WiFi-enabled appliances into Home Assistant.";
homepage = "https://github.com/simbaja/ha_gehome";
maintainers = [ ];
};
}

View File

@@ -0,0 +1,29 @@
{
buildHomeAssistantComponent,
fetchFromGitHub,
python3Packages,
...
}:
buildHomeAssistantComponent rec {
owner = "gcobb321";
domain = "icloud3";
version = "3.2.3";
src = fetchFromGitHub {
owner = owner;
repo = "icloud3";
rev = "v${version}";
hash = "sha256-RyH25elL/0+xnJcgAx9LzYpLy5JcWuMagJiJXKbgz/s=";
};
propagatedBuildInputs = with python3Packages; [
srp
];
meta = {
changelog = "https://github.com/gcobb321/icloud3/releases/tag/${version}";
description = "Cloud3 is a device tracker custom component that tracks your iPhones, iPads and Apple Watches. Devices in the Family Sharing List and the HA Mobile App Integration are trackable.";
homepage = "https://github.com/gcobb321/icloud3";
maintainers = [ ];
};
}

View File

@@ -0,0 +1,39 @@
{
buildHomeAssistantComponent,
fetchFromGitHub,
python3Packages,
...
}:
buildHomeAssistantComponent rec {
owner = "moralmunky";
domain = "mail_and_packages";
version = "0.4.2";
src = fetchFromGitHub {
owner = owner;
repo = "Home-Assistant-Mail-And-Packages";
rev = version;
hash = "sha256-5LBTlRlkSUx8DOY+F7UvUs4dzjZKdBdgnDUdK6DBdew=";
};
propagatedBuildInputs = with python3Packages; [
beautifulsoup4
dateparser
pillow
];
postPatch = ''
substituteInPlace custom_components/mail_and_packages/const.py \
--replace-fail 'DEFAULT_PATH = "custom_components/mail_and_packages/images/"' \
'DEFAULT_PATH = "/var/lib/homeassistant/images/"' \
--replace-fail 'DEFAULT_CUSTOM_IMG_FILE = "custom_components/mail_and_packages/images/mail_none.gif"' \
'DEFAULT_CUSTOM_IMG_FILE = "/var/lib/homeassistant/images/mail_none.gif"'
'';
meta = {
changelog = "https://github.com/moralmunky/Home-Assistant-Mail-And-Packages/releases/tag/${version}";
description = "The Mail and Packages integration creates sensors for supported shippers to show a snapshot of mail and packages that are scheduled to be delivered the current day.";
homepage = "https://github.com/moralmunky/Home-Assistant-Mail-And-Packages";
maintainers = [ ];
};
}

View File

@@ -0,0 +1,30 @@
{
buildHomeAssistantComponent,
fetchFromGitHub,
pkgs,
namespace,
...
}:
buildHomeAssistantComponent rec {
owner = "Wouter0100";
domain = "nanokvm";
version = "v0.0.1";
src = fetchFromGitHub {
owner = owner;
repo = "homeassistant-nanokvm";
rev = "663f9710dfea109f0bb0417df5828b8d639e70c4";
hash = "sha256-6rTEOshNCe0x4iEHljqY/6p2TK1HasgNycRHkmo2Hhw=";
};
propagatedBuildInputs = [
pkgs.${namespace}.python-nanokvm
];
meta = {
changelog = "https://github.com/Wouter0100/homeassistant-nanokvm/releases/tag/${version}";
description = "This integration allows you to control and monitor your Sipeed NanoKVM device from Home Assistant.";
homepage = "https://github.com/Wouter0100/homeassistant-nanokvm";
maintainers = [ ];
};
}

View File

@@ -0,0 +1,30 @@
{
buildHomeAssistantComponent,
fetchFromGitHub,
pkgs,
# namespace,
...
}:
buildHomeAssistantComponent rec {
owner = "HASwitchPlate";
domain = "openhasp";
version = "0.7.6";
src = fetchFromGitHub {
owner = owner;
repo = "openHASP-custom-component";
rev = version;
hash = "sha256-9IGZO+o9v6xyPbHRxBwmsGsryVwaB+fFXsK2kn5ztnA=";
};
propagatedBuildInputs = with pkgs.python3Packages; [
jsonschema
];
meta = {
changelog = "https://github.com/HASwitchPlate/openHASP-custom-component/releases/tag/${version}";
description = "This custom component simplifies synchronization of objects on one or more openHASP";
homepage = "https://github.com/HASwitchPlate/openHASP-custom-component";
maintainers = [ ];
};
}

View File

@@ -0,0 +1,30 @@
{
buildHomeAssistantComponent,
fetchFromGitHub,
pkgs,
namespace,
...
}:
buildHomeAssistantComponent rec {
owner = "vaparr";
domain = "overseerr";
version = "0.1.42";
src = fetchFromGitHub {
owner = owner;
repo = "ha-overseerr";
rev = version;
hash = "sha256-UvUowCgfay9aRV+iC/AQ9vvJzhGZbH+/1kVjxPFBKcI=";
};
propagatedBuildInputs = [
pkgs.${namespace}.pyoverseerr
];
meta = {
changelog = "https://github.com/vaparr/ha-overseerr/releases/tag/${version}";
description = "The Overseerr integration monitors data from your Overseerr instance.";
homepage = "https://github.com/vaparr/ha-overseerr";
maintainers = [ ];
};
}

View File

@@ -0,0 +1,20 @@
{ buildHomeAssistantComponent, fetchFromGitHub, ... }:
buildHomeAssistantComponent rec {
owner = "jjjonesjr33";
domain = "petlibro";
version = "v1.0.22.3";
src = fetchFromGitHub {
owner = owner;
repo = "petlibro";
rev = version;
hash = "sha256-fYzy4OpK9Fs+KQ44H4G6DJlcSg9Zyi56fjsmdxDBviM=";
};
meta = {
changelog = "https://github.com/jjjonesjr33/petlibro/releases/tag/${version}";
description = "PETLIBRO integration for Home Assistant.";
homepage = "https://github.com/jjjonesjr33/petlibro";
maintainers = [ ];
};
}

View File

@@ -0,0 +1,35 @@
{
buildHomeAssistantComponent,
fetchFromGitHub,
pkgs,
namespace,
...
}:
buildHomeAssistantComponent rec {
owner = "SecKatie";
domain = "wyzeapi";
version = "0.1.35";
src = fetchFromGitHub {
owner = owner;
repo = "ha-wyzeapi";
rev = version;
hash = "sha256-J9VFNImri0xF8RfND1bZl12CreKA023eHsXFNVt1YNQ=";
};
propagatedBuildInputs = [
pkgs.${namespace}.wyzeapy
];
postPatch = ''
substituteInPlace custom_components/wyzeapi/manifest.json \
--replace '"wyzeapy>=0.5.28,<0.6"' '"wyzeapy>=0.5.27,<0.6"'
'';
meta = {
changelog = "https://github.com/SecKatie/ha-wyzeapi/releases/tag/${version}";
description = "This is a custom component to allow control of various Wyze devices in Home Assistant using the unofficial API.";
homepage = "https://github.com/SecKatie/ha-wyzeapi";
maintainers = [ ];
};
}

View File

@@ -0,0 +1,39 @@
{ python3Packages, fetchPypi, ... }:
python3Packages.buildPythonPackage rec {
pname = "homeassistant_api";
version = "5.0.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-UNKTtgInrVJtjHb1WVlUbcbhjBOtTX00eHmm54ww0rY=";
};
# do not run tests
doCheck = false;
nativeBuildInputs = with python3Packages; [
poetry-core
requests-cache
];
dependencies = with python3Packages; [
requests-cache
pydantic
websockets
];
propagatedBuildInputs = with python3Packages; [
aiohttp
aiohttp-client-cache
pydantic
requests
requests-cache
simplejson
websockets
];
pythonRelaxDeps = [
"requests-cache"
"pydantic"
"websockets"
];
pythonImportsCheck = [
"homeassistant_api"
];
}