2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, xmltodict, requests
|
2020-06-15 15:56:04 +00:00
|
|
|
, toml
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Test dependencies
|
|
|
|
, pytest, pytestcov, coveralls, pylint, flake8, graphviz, mock, sphinx
|
|
|
|
, sphinx_rtd_theme
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "soco";
|
|
|
|
version = "0.19";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0dgca286vhrabm4r4jj545k895z6w2c70ars06vrjhf9cpgg7qck";
|
|
|
|
};
|
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
propagatedBuildInputs = [ xmltodict requests toml ];
|
2020-04-24 23:36:52 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytest pytestcov coveralls pylint flake8 graphviz mock sphinx
|
|
|
|
sphinx_rtd_theme
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://python-soco.com/";
|
|
|
|
description = "A CLI and library to control Sonos speakers";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|