about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-07-13 04:23:00 -0500
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-08-13 09:18:25 +0200
commit6ea1b3cf9ce22d42962b5e905509cb4e813425ef (patch)
tree0491cb42d3899f7219419cdcec35283f5a56a424
parent174fe8470a7f436be94fd57e4751077ae6755ada (diff)
downloadnixlib-6ea1b3cf9ce22d42962b5e905509cb4e813425ef.tar
nixlib-6ea1b3cf9ce22d42962b5e905509cb4e813425ef.tar.gz
nixlib-6ea1b3cf9ce22d42962b5e905509cb4e813425ef.tar.bz2
nixlib-6ea1b3cf9ce22d42962b5e905509cb4e813425ef.tar.lz
nixlib-6ea1b3cf9ce22d42962b5e905509cb4e813425ef.tar.xz
nixlib-6ea1b3cf9ce22d42962b5e905509cb4e813425ef.tar.zst
nixlib-6ea1b3cf9ce22d42962b5e905509cb4e813425ef.zip
python3Packages.pysonos: 0.0.21 -> 0.0.22
-rw-r--r--pkgs/development/python-modules/pysonos/default.nix12
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 3f4ee6fea28a..ad0db8dc8bcb 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";