diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/soco')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/soco/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/soco/default.nix b/nixpkgs/pkgs/development/python-modules/soco/default.nix new file mode 100644 index 000000000000..4c938490eb4f --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/soco/default.nix @@ -0,0 +1,28 @@ +{ lib, buildPythonPackage, fetchPypi, xmltodict, requests + +# Test dependencies +, pytest_3, pytestcov, coveralls, pylint, flake8, graphviz, mock, sphinx +, sphinx_rtd_theme +}: + +buildPythonPackage rec { + pname = "soco"; + version = "0.16"; + + src = fetchPypi { + inherit pname version; + sha256 = "7bed4475e3f134283af1f520a9b2e6ce2a8e69bdc1b58ee68528b3d093972424"; + }; + + propagatedBuildInputs = [ xmltodict requests ]; + checkInputs = [ + pytest_3 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; + }; +} |