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