diff options
Diffstat (limited to 'pkgs/development/python-modules/pysonos/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pysonos/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pysonos/default.nix b/pkgs/development/python-modules/pysonos/default.nix index 3f4ee6fea28aa..ad0db8dc8bcb9 100644 --- a/pkgs/development/python-modules/pysonos/default.nix +++ b/pkgs/development/python-modules/pysonos/default.nix @@ -7,28 +7,32 @@ , ifaddr # Test dependencies -, pytest_3, pylint, flake8, graphviz +, pytest, pylint, flake8, graphviz , mock, sphinx, sphinx_rtd_theme }: buildPythonPackage rec { pname = "pysonos"; - version = "0.0.21"; + version = "0.0.22"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "0x2nznjnm721qw9nys5ap3b6hq9s48bsd1yj5xih50pvn0rf0nz2"; + sha256 = "4a4fe630b97c81261246a448fe9dd2bdfaacd7df4453cf72f020599171416442"; }; propagatedBuildInputs = [ xmltodict requests ifaddr ]; checkInputs = [ - pytest_3 pylint flake8 graphviz + pytest pylint flake8 graphviz mock sphinx sphinx_rtd_theme ]; + checkPhase = '' + pytest --deselect=tests/test_discovery.py::TestDiscover::test_discover + ''; + meta = { homepage = https://github.com/amelchio/pysonos; description = "A SoCo fork with fixes for Home Assistant"; |