python3Packages.bleak-esphome: fix bleak 2.0.0 compat
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
buildPythonPackage,
|
||||
cython,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
habluetooth,
|
||||
lru-dict,
|
||||
poetry-core,
|
||||
@@ -29,6 +30,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-BFF4SqJxrQ+aaFtrNqS9fNqTV2Q+pOu5FFdYKeHkKj8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "bleak-2.0.0-compat.patch";
|
||||
url = "https://github.com/Bluetooth-Devices/bleak-esphome/commit/a186eca427d1c0924ce29cbb46cde876e0c6e246.patch";
|
||||
hash = "sha256-QPyN/k/xG03rZqYbexzN1GJaAqOe5FqfrDJ2fjiIkJs=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools>=75.8.2" setuptools
|
||||
|
||||
Reference in New Issue
Block a user