2018-06-29 20:04:42 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, xmltodict, requests
|
|
|
|
|
|
|
|
# Test dependencies
|
2019-02-20 18:59:03 +00:00
|
|
|
, pytest_3, pytestcov, coveralls, pylint, flake8, graphviz, mock, sphinx
|
2018-06-29 20:04:42 +01:00
|
|
|
, sphinx_rtd_theme
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "soco";
|
2018-08-25 06:50:27 +01:00
|
|
|
version = "0.16";
|
2018-06-29 20:04:42 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-08-25 06:50:27 +01:00
|
|
|
sha256 = "7bed4475e3f134283af1f520a9b2e6ce2a8e69bdc1b58ee68528b3d093972424";
|
2018-06-29 20:04:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ xmltodict requests ];
|
|
|
|
checkInputs = [
|
2019-02-20 18:59:03 +00:00
|
|
|
pytest_3 pytestcov coveralls pylint flake8 graphviz mock sphinx
|
2018-06-29 20:04:42 +01:00
|
|
|
sphinx_rtd_theme
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://python-soco.com/;
|
|
|
|
description = "A CLI and library to control Sonos speakers";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|