1{ 2 lib, 3 aiohttp, 4 aioresponses, 5 buildPythonPackage, 6 fetchFromGitHub, 7 incremental, 8 pythonOlder, 9 pytestCheckHook, 10 setuptools, 11}: 12 13buildPythonPackage rec { 14 pname = "aiolyric"; 15 version = "2.0.1"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.11"; 19 20 src = fetchFromGitHub { 21 owner = "timmo001"; 22 repo = "aiolyric"; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-pN/F4Rdov06sm1yfJQEzmWyujWVeVU+bNGGkgnN4jYw="; 25 }; 26 27 build-system = [ setuptools ]; 28 29 dependencies = [ 30 aiohttp 31 incremental 32 ]; 33 34 nativeCheckInputs = [ 35 aioresponses 36 pytestCheckHook 37 ]; 38 39 disabledTests = [ 40 # AssertionError, https://github.com/timmo001/aiolyric/issues/61 41 "test_priority" 42 ]; 43 44 pythonImportsCheck = [ "aiolyric" ]; 45 46 meta = with lib; { 47 description = "Python module for the Honeywell Lyric Platform"; 48 homepage = "https://github.com/timmo001/aiolyric"; 49 changelog = "https://github.com/timmo001/aiolyric/releases/tag/v${version}"; 50 license = with licenses; [ mit ]; 51 maintainers = with maintainers; [ fab ]; 52 }; 53}