about summary refs log tree commit diff
path: root/pkgs/development/python-modules/soco
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-06-19 10:37:27 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2020-06-19 10:37:37 +0200
commit612ef3438aff907113780374babb69a1bcfa08c6 (patch)
tree595139a63acd86a6edd6025919c9b4d57aef15e8 /pkgs/development/python-modules/soco
parentfcbd2e68355bf28ca9c0ae69af7e75fde1ae8ae7 (diff)
python3.pkgs.soco: fix build
Diffstat (limited to 'pkgs/development/python-modules/soco')
-rw-r--r--pkgs/development/python-modules/soco/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/soco/default.nix b/pkgs/development/python-modules/soco/default.nix
index 0af09cc01ce71..b56e43e132192 100644
--- a/pkgs/development/python-modules/soco/default.nix
+++ b/pkgs/development/python-modules/soco/default.nix
@@ -1,4 +1,5 @@
 { lib, buildPythonPackage, fetchPypi, xmltodict, requests
+, toml
 
 # Test dependencies
 , pytest, pytestcov, coveralls, pylint, flake8, graphviz, mock, sphinx
@@ -14,13 +15,7 @@ buildPythonPackage rec {
     sha256 = "0dgca286vhrabm4r4jj545k895z6w2c70ars06vrjhf9cpgg7qck";
   };
 
-  postPatch = ''
-    # https://github.com/SoCo/SoCo/pull/670
-    substituteInPlace requirements-dev.txt \
-      --replace "pytest-cov>=2.4.0,<2.6" "pytest-cov>=2.4.0"
-  '';
-
-  propagatedBuildInputs = [ xmltodict requests ];
+  propagatedBuildInputs = [ xmltodict requests toml ];
   checkInputs = [
     pytest pytestcov coveralls pylint flake8 graphviz mock sphinx
     sphinx_rtd_theme