patch mail

This commit is contained in:
mjallen18
2025-07-16 12:58:54 -05:00
parent cdcd102d8c
commit 1a254d12c7

View File

@@ -18,6 +18,12 @@ let
pillow
];
postPatch = ''
substituteInPlace custom_components/mail_and_packages/const.py \
--replace 'DEFAULT_PATH = "/var/lib/homeassistant/images/"' 'DEFAULT_PATH = "/var/lib/homeassistant/images/"'
--replace 'DEFAULT_CUSTOM_IMG_FILE = "/var/lib/homeassistant/mail_none.gif"' 'DEFAULT_CUSTOM_IMG_FILE = "/var/lib/homeassistant/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.";