Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 79 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder,
# build-system cython, setuptools,
# dependencies aiohappyeyeballs, async-interrupt, async-timeout, chacha20poly1305-reuseable, cryptography, noiseprotocol, protobuf, zeroconf,
# tests mock, pytest-asyncio, pytestCheckHook,}:
buildPythonPackage rec { pname = "aioesphomeapi"; version = "24.3.0"; pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub { owner = "esphome"; repo = "aioesphomeapi"; rev = "refs/tags/v${version}"; hash = "sha256-wQR3dwN5O++TdtQh+Wcj7c7TNMaRj2lMlOuXOAPVU0Q="; };
build-system = [ setuptools cython ];
dependencies = [ aiohappyeyeballs async-interrupt chacha20poly1305-reuseable cryptography noiseprotocol protobuf zeroconf ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ];
nativeCheckInputs = [ mock pytest-asyncio pytestCheckHook ];
disabledTests = [ # https://github.com/esphome/aioesphomeapi/issues/837 "test_reconnect_logic_stop_callback" ];
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 ]; };}