esphome: backport voluptuous 0.14.2 compat

This commit is contained in:
Martin Weinelt 2024-03-12 02:51:01 +01:00
parent afd3f32547
commit 224499b121

View file

@ -2,6 +2,7 @@
, callPackage
, python3Packages
, fetchFromGitHub
, fetchpatch2
, installShellFiles
, platformio
, esptool
@ -29,6 +30,14 @@ python.pkgs.buildPythonApplication rec {
hash = "sha256-SIp4hrllPgWNnrflUStSIcUB00eGU5pHoYveBPg7CVw=";
};
patches = [
(fetchpatch2 {
name = "esphome-voluptuous-0.14.2-compat.patch";
url = "https://github.com/esphome/esphome/commit/256d886d77fbff37e803593fdc6fce7be0b49487.patch";
hash = "sha256-Gm1iSSCMeHK2W41GpUjQWlQTpIyXzq44wSdGEtWiu0g=";
})
];
nativeBuildInputs = with python.pkgs; [
setuptools
argcomplete