1{ 2 lib, 3 aiohttp, 4 buildPythonPackage, 5 fetchFromGitHub, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "sonos-websocket"; 11 version = "0.1.3"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "jjlawren"; 16 repo = "sonos-websocket"; 17 tag = version; 18 hash = "sha256-1sgYLwIW7VWnHJGsfIQ95AGZ5j/DPMKQr5n7F+/MsuY="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ 24 aiohttp 25 ]; 26 27 # Module has no tests 28 doCheck = false; 29 30 pythonImportsCheck = [ "sonos_websocket" ]; 31 32 meta = { 33 description = "Library to communicate with Sonos devices over websockets"; 34 homepage = "https://github.com/jjlawren/sonos-websocket"; 35 changelog = "https://github.com/jjlawren/sonos-websocket/releases/tag/${version}"; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ fab ]; 38 }; 39}