Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.5 kB · 76 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ lib, buildPythonPackage, aiocoap, aiohappyeyeballs, async-interrupt, bleak, bleak-retry-connector, chacha20poly1305, chacha20poly1305-reuseable, commentjson, cryptography, fetchFromGitHub, orjson, poetry-core, pytest-aiohttp, pytestCheckHook, pythonOlder, zeroconf,}:
buildPythonPackage rec { pname = "aiohomekit"; version = "3.2.15"; pyproject = true;
disabled = pythonOlder "3.10";
src = fetchFromGitHub { owner = "Jc2k"; repo = "aiohomekit"; tag = version; hash = "sha256-UAFiYTAz5TZVviwoCFzeSGi9acVytQU9hgVVVVecOBU="; };
build-system = [ poetry-core ];
dependencies = [ aiocoap aiohappyeyeballs async-interrupt bleak bleak-retry-connector chacha20poly1305 chacha20poly1305-reuseable commentjson cryptography orjson zeroconf ];
nativeCheckInputs = [ pytest-aiohttp pytestCheckHook ];
disabledTestPaths = [ # Tests require network access "tests/test_ip_pairing.py" ];
pythonImportsCheck = [ "aiohomekit" ];
meta = with lib; { description = "Python module that implements the HomeKit protocol"; longDescription = '' This Python library implements the HomeKit protocol for controlling Homekit accessories. ''; homepage = "https://github.com/Jc2k/aiohomekit"; changelog = "https://github.com/Jc2k/aiohomekit/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; mainProgram = "aiohomekitctl"; };}