16 buildPythonPackage rec {
17 pname = "bleak-esphome";
21 disabled = pythonOlder "3.10";
23 src = fetchFromGitHub {
24 owner = "bluetooth-devices";
25 repo = "bleak-esphome";
26 rev = "refs/tags/v${version}";
27 hash = "sha256-+84ODCx2XzREhSSt5Uu0+Bj55bfU+i33qf3wFMwu3wA=";
31 substituteInPlace pyproject.toml \
32 --replace " --cov=bleak_esphome --cov-report=term-missing:skip-covered" ""
35 nativeBuildInputs = [ poetry-core ];
37 propagatedBuildInputs = [
50 pythonImportsCheck = [ "bleak_esphome" ];
53 description = "Bleak backend of ESPHome";
54 homepage = "https://github.com/bluetooth-devices/bleak-esphome";
55 changelog = "https://github.com/bluetooth-devices/bleak-esphome/blob/v${version}/CHANGELOG.md";
56 license = licenses.mit;
57 maintainers = with maintainers; [ fab ];