1{ 2 aiohttp, 3 aioresponses, 4 buildPythonPackage, 5 fetchFromGitHub, 6 lib, 7 poetry-core, 8 pytest-asyncio, 9 pytestCheckHook, 10 zeroconf, 11}: 12 13buildPythonPackage rec { 14 pname = "altruistclient"; 15 version = "0.1.1"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "LoSk-p"; 20 repo = "altruistclient"; 21 tag = version; 22 hash = "sha256-36qqB9e53eZgMgwXzrXlMOySnuqmT3vLiU02NL9xtko="; 23 }; 24 25 build-system = [ poetry-core ]; 26 27 dependencies = [ 28 aiohttp 29 zeroconf 30 ]; 31 32 pythonImportsCheck = [ "altruistclient" ]; 33 34 nativeCheckInputs = [ 35 aioresponses 36 pytest-asyncio 37 pytestCheckHook 38 ]; 39 40 meta = { 41 changelog = "https://github.com/LoSk-p/altruistclient/releases/tag/${src.tag}"; 42 description = "Async library for discovering and fetching data from Altruist sensors"; 43 homepage = "https://github.com/LoSk-p/altruistclient"; 44 license = lib.licenses.asl20; 45 maintainers = with lib.maintainers; [ dotlambda ]; 46 }; 47}