Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
999 B · 52 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, async-timeout, mock, noiseprotocol, protobuf, pytest-asyncio, pytestCheckHook, pythonOlder, zeroconf}:
buildPythonPackage rec { pname = "aioesphomeapi"; version = "13.9.0"; format = "setuptools";
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "esphome"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-RjLzOl8Cb6Vrq+75SvBntAmmiK70i3o2rED7Smnpiws="; };
propagatedBuildInputs = [ async-timeout noiseprotocol protobuf zeroconf ];
nativeCheckInputs = [ mock pytest-asyncio pytestCheckHook ];
pythonImportsCheck = [ "aioesphomeapi" ];
meta = with lib; { description = "Python Client for ESPHome native API"; homepage = "https://github.com/esphome/aioesphomeapi"; changelog = "https://github.com/esphome/aioesphomeapi/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ fab hexa ]; };}