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,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/"' \