Merge pull request #118027 from elohmeier/pysonos_fix

This commit is contained in:
Martin Weinelt 2021-03-30 21:51:15 +02:00 committed by GitHub
commit 7b0b2ed608
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 10 deletions

View file

@ -3,12 +3,12 @@
, fetchFromGitHub
, isPy3k
, xmltodict
, requests
, ifaddr
, requests
# Test dependencies
, pytest, pylint, flake8, graphviz
, mock, sphinx, sphinx_rtd_theme
# Test dependencies
, pytestCheckHook
, mock
, requests-mock
}:
@ -26,17 +26,17 @@ buildPythonPackage rec {
sha256 = "0a0c7jwv39nbvpdcx32sd8kjmj4nyrd7k0yxhpmxdnx4zr4vvzqg";
};
propagatedBuildInputs = [ xmltodict requests ifaddr ];
propagatedBuildInputs = [ ifaddr requests xmltodict ];
checkInputs = [
pytest pylint flake8 graphviz
mock sphinx sphinx_rtd_theme
pytestCheckHook
mock
requests-mock
];
checkPhase = ''
pytest --deselect=tests/test_discovery.py::TestDiscover::test_discover
'';
disabledTests = [
"test_desc_from_uri" # test requires network access
];
meta = {
homepage = "https://github.com/amelchio/pysonos";

View file

@ -299,6 +299,7 @@ in with py.pkgs; buildPythonApplication rec {
"smarttub"
"smtp"
"solaredge"
"sonos"
"sql"
"ssdp"
"stream"