Merge pull request #118027 from elohmeier/pysonos_fix
This commit is contained in:
commit
7b0b2ed608
@ -3,12 +3,12 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, xmltodict
|
, xmltodict
|
||||||
, requests
|
|
||||||
, ifaddr
|
, ifaddr
|
||||||
|
, requests
|
||||||
|
|
||||||
# Test dependencies
|
# Test dependencies
|
||||||
, pytest, pylint, flake8, graphviz
|
, pytestCheckHook
|
||||||
, mock, sphinx, sphinx_rtd_theme
|
, mock
|
||||||
, requests-mock
|
, requests-mock
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -26,17 +26,17 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0a0c7jwv39nbvpdcx32sd8kjmj4nyrd7k0yxhpmxdnx4zr4vvzqg";
|
sha256 = "0a0c7jwv39nbvpdcx32sd8kjmj4nyrd7k0yxhpmxdnx4zr4vvzqg";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ xmltodict requests ifaddr ];
|
propagatedBuildInputs = [ ifaddr requests xmltodict ];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest pylint flake8 graphviz
|
pytestCheckHook
|
||||||
mock sphinx sphinx_rtd_theme
|
mock
|
||||||
requests-mock
|
requests-mock
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
disabledTests = [
|
||||||
pytest --deselect=tests/test_discovery.py::TestDiscover::test_discover
|
"test_desc_from_uri" # test requires network access
|
||||||
'';
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/amelchio/pysonos";
|
homepage = "https://github.com/amelchio/pysonos";
|
||||||
|
@ -299,6 +299,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
"smarttub"
|
"smarttub"
|
||||||
"smtp"
|
"smtp"
|
||||||
"solaredge"
|
"solaredge"
|
||||||
|
"sonos"
|
||||||
"sql"
|
"sql"
|
||||||
"ssdp"
|
"ssdp"
|
||||||
"stream"
|
"stream"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user