Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 23.05 42 lines 963 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, pythonOlder 6}: 7 8buildPythonPackage rec { 9 pname = "aioslimproto"; 10 version = "2.2.0"; 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-3aLAAUaoGkdzjUHFb6aiyVv0fzO8DojN0Y3DTf6h2Ow="; 20 }; 21 22 nativeCheckInputs = [ 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 changelog = "https://github.com/home-assistant-libs/aioslimproto/releases/tag/${version}"; 39 license = with licenses; [ asl20 ]; 40 maintainers = with maintainers; [ fab ]; 41 }; 42}