Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 43 lines 887 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5, xmltodict 6, requests 7, ifaddr 8 9# Test dependencies 10, pytest, pylint, flake8, graphviz 11, mock, sphinx, sphinx_rtd_theme 12}: 13 14buildPythonPackage rec { 15 pname = "pysonos"; 16 version = "0.0.24"; 17 18 disabled = !isPy3k; 19 20 src = fetchPypi { 21 inherit pname version; 22 sha256 = "294ffce5394a3e0da6a6f4e23f84031f06d9eb76eaa362507c0b1033ffbf69b4"; 23 }; 24 25 propagatedBuildInputs = [ xmltodict requests ifaddr ]; 26 27 checkInputs = [ 28 pytest pylint flake8 graphviz 29 mock sphinx sphinx_rtd_theme 30 ]; 31 32 checkPhase = '' 33 pytest --deselect=tests/test_discovery.py::TestDiscover::test_discover 34 ''; 35 36 meta = { 37 homepage = https://github.com/amelchio/pysonos; 38 description = "A SoCo fork with fixes for Home Assistant"; 39 license = lib.licenses.mit; 40 maintainers = with lib.maintainers; [ juaningan ]; 41 broken = true; 42 }; 43}