at 18.09-beta 687 B view raw
1{ lib, buildPythonPackage, fetchPypi, xmltodict, requests 2 3# Test dependencies 4, pytest, pytestcov, coveralls, pylint, flake8, graphviz, mock, sphinx 5, sphinx_rtd_theme 6}: 7 8buildPythonPackage rec { 9 pname = "soco"; 10 version = "0.16"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "7bed4475e3f134283af1f520a9b2e6ce2a8e69bdc1b58ee68528b3d093972424"; 15 }; 16 17 propagatedBuildInputs = [ xmltodict requests ]; 18 checkInputs = [ 19 pytest pytestcov coveralls pylint flake8 graphviz mock sphinx 20 sphinx_rtd_theme 21 ]; 22 23 meta = { 24 homepage = http://python-soco.com/; 25 description = "A CLI and library to control Sonos speakers"; 26 license = lib.licenses.mit; 27 }; 28}