Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 68 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ lib, aioesphomeapi, bleak, bleak-retry-connector, bluetooth-data-tools, buildPythonPackage, cython, fetchFromGitHub, habluetooth, lru-dict, poetry-core, pytest-asyncio, pytest-codspeed, pytest-cov-stub, pytestCheckHook, setuptools,}:
buildPythonPackage rec { pname = "bleak-esphome"; version = "2.16.0"; pyproject = true;
src = fetchFromGitHub { owner = "bluetooth-devices"; repo = "bleak-esphome"; tag = "v${version}"; hash = "sha256-1NqalsFUXTcVX0UVV4BMStX+EAcu0/3vEKpkq+z+KDE="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools>=75.8.2" setuptools '';
build-system = [ cython poetry-core setuptools ];
dependencies = [ aioesphomeapi bleak bleak-retry-connector bluetooth-data-tools habluetooth lru-dict ];
nativeCheckInputs = [ pytest-asyncio pytest-codspeed pytest-cov-stub pytestCheckHook ];
pythonImportsCheck = [ "bleak_esphome" ];
meta = with lib; { description = "Bleak backend of ESPHome"; homepage = "https://github.com/bluetooth-devices/bleak-esphome"; changelog = "https://github.com/bluetooth-devices/bleak-esphome/blob/${src.tag}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}