Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 59 lines
Nix
at llvm-cleanup
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, aioesphomeapi, bleak, bluetooth-data-tools, buildPythonPackage, fetchFromGitHub, habluetooth, lru-dict, poetry-core, pytest-asyncio, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "bleak-esphome"; version = "1.0.0"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub { owner = "bluetooth-devices"; repo = "bleak-esphome"; rev = "refs/tags/v${version}"; hash = "sha256-zz7vh+UIahHtb6ZjR/eRrS9RGur2klqbgKoeJpMrH/k="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=bleak_esphome --cov-report=term-missing:skip-covered" "" '';
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ aioesphomeapi bleak bluetooth-data-tools habluetooth lru-dict ];
nativeCheckInputs = [ pytest-asyncio 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/v${version}/CHANGELOG.md"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}