1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, poetry-core 5, protobuf 6, pytest-asyncio 7, pytestCheckHook 8, pythonOlder 9, zeroconf 10}: 11 12buildPythonPackage rec { 13 pname = "aiobafi6"; 14 version = "0.9.0"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.10"; 18 19 src = fetchFromGitHub { 20 owner = "jfroy"; 21 repo = "aiobafi6"; 22 rev = "refs/tags/${version}"; 23 hash = "sha256-QxjrspvNrcMcGChjj1B4QF/SnWCsGmPxnI2bWAL6BiI="; 24 }; 25 26 nativeBuildInputs = [ 27 poetry-core 28 ]; 29 30 propagatedBuildInputs = [ 31 protobuf 32 zeroconf 33 ]; 34 35 nativeCheckInputs = [ 36 pytest-asyncio 37 pytestCheckHook 38 ]; 39 40 pythonImportsCheck = [ 41 "aiobafi6" 42 ]; 43 44 meta = with lib; { 45 description = "Library for communication with the Big Ass Fans i6 firmware"; 46 homepage = "https://github.com/jfroy/aiobafi6"; 47 changelog = "https://github.com/jfroy/aiobafi6/releases/tag/0.8.2"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}