1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, pythonOlder 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "aiolyric"; 11 version = "1.0.8"; 12 disabled = pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "timmo001"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "sha256-A4EkqSIQ5p4E4DPLYu9a/lmb1sFhwDqFLhjhZS6Zf5c="; 19 }; 20 21 propagatedBuildInputs = [ aiohttp ]; 22 23 checkInputs = [ pytestCheckHook ]; 24 25 disabledTests = [ 26 # AssertionError, https://github.com/timmo001/aiolyric/issues/5 27 "test_location" 28 ]; 29 pythonImportsCheck = [ "aiolyric" ]; 30 31 meta = with lib; { 32 description = "Python module for the Honeywell Lyric Platform"; 33 homepage = "https://github.com/timmo001/aiolyric"; 34 license = with licenses; [ mit ]; 35 maintainers = with maintainers; [ fab ]; 36 }; 37}