at master 1.1 kB view raw
1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 buildPythonPackage, 6 fetchFromGitHub, 7 incremental, 8 pythonOlder, 9 pytest-asyncio, 10 pytestCheckHook, 11 setuptools, 12}: 13 14buildPythonPackage rec { 15 pname = "aiolyric"; 16 version = "2.0.2"; 17 pyproject = true; 18 19 disabled = pythonOlder "3.11"; 20 21 src = fetchFromGitHub { 22 owner = "timmo001"; 23 repo = "aiolyric"; 24 tag = version; 25 hash = "sha256-k0UE9SXHS8lPu3kC+tGtn99rCU2hq+fdCsp6f83+gv4="; 26 }; 27 28 build-system = [ 29 incremental 30 setuptools 31 ]; 32 33 dependencies = [ 34 aiohttp 35 incremental 36 ]; 37 38 nativeCheckInputs = [ 39 aioresponses 40 pytest-asyncio 41 pytestCheckHook 42 ]; 43 44 pythonImportsCheck = [ "aiolyric" ]; 45 46 disabledTestPaths = [ 47 # _version file is no shipped 48 "tests/test__version.py" 49 ]; 50 51 meta = with lib; { 52 description = "Python module for the Honeywell Lyric Platform"; 53 homepage = "https://github.com/timmo001/aiolyric"; 54 changelog = "https://github.com/timmo001/aiolyric/releases/tag/${src.tag}"; 55 license = licenses.mit; 56 maintainers = with maintainers; [ fab ]; 57 }; 58}