aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/soco/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/soco/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/soco/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/soco/default.nix b/nixpkgs/pkgs/development/python-modules/soco/default.nix
index 0af09cc01ce..b56e43e1321 100644
--- a/nixpkgs/pkgs/development/python-modules/soco/default.nix
+++ b/nixpkgs/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