mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
esphome: apply patch for CVE-2025-57808
https://github.com/esphome/esphome/security/advisories/GHSA-mxh2-ccgj-8635
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
callPackage,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
installShellFiles,
|
||||
platformio,
|
||||
esptool,
|
||||
@@ -43,6 +44,15 @@ python.pkgs.buildPythonApplication rec {
|
||||
hash = "sha256-vy/wjtl/IbdSOxAUsV4bl7VNEBTetsvIDh2V1gDHSMs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://github.com/esphome/esphome/security/advisories/GHSA-mxh2-ccgj-8635
|
||||
name = "CVE-2025-57808.patch";
|
||||
url = "https://github.com/esphome/esphome/commit/2aceb56606ec8afec5f49c92e140c8050a6ccbe5.patch";
|
||||
hash = "sha256-SLqjjQXM1ABxY0pmNCXgTVzMcsRLKszinvf/ZchacEM=";
|
||||
})
|
||||
];
|
||||
|
||||
build-systems = with python.pkgs; [
|
||||
setuptools
|
||||
argcomplete
|
||||
|
||||
Reference in New Issue
Block a user