at 23.05-pre 41 lines 862 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "aioslimproto"; 10 version = "2.1.1"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.9"; 14 15 src = fetchFromGitHub { 16 owner = "home-assistant-libs"; 17 repo = pname; 18 rev = "refs/tags/${version}"; 19 hash = "sha256-Er7UsJDBDXD8CQSkUIOeO78HQaCsrRycU18LOjBpv/w="; 20 }; 21 22 checkInputs = [ 23 pytestCheckHook 24 ]; 25 26 disabledTests = [ 27 # AssertionError: assert ['mixer', 'volume', '50'] == ['volume', '50'] 28 "test_msg_instantiation" 29 ]; 30 31 pythonImportsCheck = [ 32 "aioslimproto" 33 ]; 34 35 meta = with lib; { 36 description = "Module to control Squeezebox players"; 37 homepage = "https://github.com/home-assistant-libs/aioslimproto"; 38 license = with licenses; [ asl20 ]; 39 maintainers = with maintainers; [ fab ]; 40 }; 41}