at master 1.1 kB view raw
1{ 2 lib, 3 aiohttp, 4 attrs, 5 backoff, 6 boto3, 7 buildPythonPackage, 8 fetchFromGitHub, 9 hatchling, 10 pyhumps, 11 pytest-asyncio, 12 pytestCheckHook, 13 pythonOlder, 14 warrant-lite, 15}: 16 17buildPythonPackage rec { 18 pname = "pyoverkiz"; 19 version = "1.18.2"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.11"; 23 24 src = fetchFromGitHub { 25 owner = "iMicknl"; 26 repo = "python-overkiz-api"; 27 tag = "v${version}"; 28 hash = "sha256-kGcDZp1oLkjHy/+iAdnsAceSY+jX9+hw3mFxCaT18YA="; 29 }; 30 31 build-system = [ hatchling ]; 32 33 dependencies = [ 34 aiohttp 35 attrs 36 backoff 37 boto3 38 pyhumps 39 warrant-lite 40 ]; 41 42 nativeCheckInputs = [ 43 pytest-asyncio 44 pytestCheckHook 45 ]; 46 47 pythonImportsCheck = [ "pyoverkiz" ]; 48 49 meta = with lib; { 50 description = "Module to interact with the Somfy TaHoma API or other OverKiz APIs"; 51 homepage = "https://github.com/iMicknl/python-overkiz-api"; 52 changelog = "https://github.com/iMicknl/python-overkiz-api/releases/tag/${src.tag}"; 53 license = licenses.mit; 54 maintainers = with maintainers; [ fab ]; 55 }; 56}