This commit is contained in:
mjallen18
2026-03-27 09:05:31 -05:00
parent 4c1332e67a
commit add39956f7
7 changed files with 41 additions and 25 deletions

View File

@@ -7,13 +7,13 @@
buildHomeAssistantComponent rec {
owner = "greghesp";
domain = "bambu_lab";
version = "v2.2.20";
version = "v2.2.21";
src = fetchFromGitHub {
owner = owner;
repo = "ha-bambulab";
rev = version;
hash = "sha256-lKKfPWWcri2OUM9nkdY2iltvIaoFhnUP4HGBGDUnEww=";
tag = version;
hash = "sha256-56aAJAsmn+PzLZijFQ9DbTfHSrbeNk+OM/ibu32UHtg=";
};
nativeBuildInputs = with home-assistant.python.pkgs; [

View File

@@ -18,13 +18,15 @@ buildHomeAssistantComponent rec {
hash = "sha256-7c2GfTagNsIsSiT/sCqSV+BZZJMcvlsecDD+ZDZx9BA=";
};
nativeBuildInputs =
with home-assistant.python.pkgs;
[
gehomesdk
slixmpp
]
++ [ pkgs.${namespace}.magicattr ];
# gehomesdk and magicattr must be built against HA's Python
dependencies = with pkgs.${namespace}; [
gehomesdk
magicattr
];
nativeBuildInputs = with home-assistant.python.pkgs; [
slixmpp
];
meta = {
changelog = "https://github.com/simbaja/ha_gehome/releases/tag/${version}";

View File

@@ -7,21 +7,26 @@
buildHomeAssistantComponent rec {
owner = "moralmunky";
domain = "mail_and_packages";
version = "0.4.7";
version = "0.5.0";
src = fetchFromGitHub {
owner = owner;
repo = "Home-Assistant-Mail-And-Packages";
rev = version;
hash = "sha256-w+7cC/jV+6bQM1aEPlO90Z1o9CcjmPvjNDSG9CduFFw=";
tag = version;
hash = "sha256-Am3EYkSYCQuYJmm6xdUwCa0h/ldk4hwTxRTxc0BU2j8=";
};
nativeBuildInputs = with home-assistant.python.pkgs; [
aioimaplib
beautifulsoup4
dateparser
pillow
];
propagatedBuildInputs = with home-assistant.python.pkgs; [
aioimaplib
];
postPatch = ''
substituteInPlace custom_components/mail_and_packages/const.py \
--replace-fail 'DEFAULT_PATH = "custom_components/mail_and_packages/images/"' \

View File

@@ -1,23 +1,21 @@
{
lib,
python3Packages,
home-assistant,
}:
python3Packages.buildPythonPackage rec {
home-assistant.python.pkgs.buildPythonPackage rec {
pname = "gehomesdk";
version = "2026.2.0";
pyproject = true;
disabled = python3Packages.pythonOlder "3.9";
src = python3Packages.fetchPypi {
src = home-assistant.python.pkgs.fetchPypi {
inherit pname version;
hash = "sha256-+BWGkUDKd+9QGbdXuLjmJxLm1xUv0dpIRlPlDkUJ25w=";
};
build-system = with python3Packages; [ setuptools ];
build-system = with home-assistant.python.pkgs; [ setuptools ];
dependencies = with python3Packages; [
dependencies = with home-assistant.python.pkgs; [
aiohttp
beautifulsoup4
bidict