Merge pull request #118027 from elohmeier/pysonos_fix
This commit is contained in:
commit
7b0b2ed608
@ -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";
|
||||
|
@ -299,6 +299,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"smarttub"
|
||||
"smtp"
|
||||
"solaredge"
|
||||
"sonos"
|
||||
"sql"
|
||||
"ssdp"
|
||||
"stream"
|
||||
|
Loading…
Reference in New Issue
Block a user