at 24.11-pre 51 lines 1.1 kB view raw
1{ 2 lib, 3 aiohttp, 4 async-timeout, 5 buildPythonPackage, 6 fetchFromGitHub, 7 pillow, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "aioslimproto"; 14 version = "3.0.1"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.10"; 18 19 src = fetchFromGitHub { 20 owner = "home-assistant-libs"; 21 repo = "aioslimproto"; 22 rev = "refs/tags/${version}"; 23 hash = "sha256-K7z34fT0PQ5qcV+66VbhYTUhCjqW/OjPnrygBFKIW1k="; 24 }; 25 26 postPatch = '' 27 substituteInPlace pyproject.toml \ 28 --replace-fail "--cov" "" 29 ''; 30 31 nativeBuildInputs = [ setuptools ]; 32 33 propagatedBuildInputs = [ 34 aiohttp 35 async-timeout 36 pillow 37 ]; 38 39 # Module has no tests 40 doCheck = false; 41 42 pythonImportsCheck = [ "aioslimproto" ]; 43 44 meta = with lib; { 45 description = "Module to control Squeezebox players"; 46 homepage = "https://github.com/home-assistant-libs/aioslimproto"; 47 changelog = "https://github.com/home-assistant-libs/aioslimproto/releases/tag/${version}"; 48 license = with licenses; [ asl20 ]; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}