at master 919 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 protobuf, 7 pytest-asyncio, 8 pytestCheckHook, 9 zeroconf, 10}: 11 12buildPythonPackage rec { 13 pname = "aiobafi6"; 14 version = "0.10.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "jfroy"; 19 repo = "aiobafi6"; 20 tag = version; 21 hash = "sha256-7NIpIRVs6PFPByrGfVDA6P7JTvXGrzbH/lOPdPfZH04="; 22 }; 23 24 build-system = [ poetry-core ]; 25 26 dependencies = [ 27 protobuf 28 zeroconf 29 ]; 30 31 nativeCheckInputs = [ 32 pytest-asyncio 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "aiobafi6" ]; 37 38 meta = with lib; { 39 description = "Library for communication with the Big Ass Fans i6 firmware"; 40 homepage = "https://github.com/jfroy/aiobafi6"; 41 changelog = "https://github.com/jfroy/aiobafi6/releases/tag/${src.tag}"; 42 license = licenses.asl20; 43 maintainers = with maintainers; [ fab ]; 44 mainProgram = "aiobafi6"; 45 }; 46}