python3.pkgs.soco: fix build
This commit is contained in:
parent
fcbd2e6835
commit
612ef3438a
@ -1,4 +1,5 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, xmltodict, requests
|
{ lib, buildPythonPackage, fetchPypi, xmltodict, requests
|
||||||
|
, toml
|
||||||
|
|
||||||
# Test dependencies
|
# Test dependencies
|
||||||
, pytest, pytestcov, coveralls, pylint, flake8, graphviz, mock, sphinx
|
, pytest, pytestcov, coveralls, pylint, flake8, graphviz, mock, sphinx
|
||||||
@ -14,13 +15,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0dgca286vhrabm4r4jj545k895z6w2c70ars06vrjhf9cpgg7qck";
|
sha256 = "0dgca286vhrabm4r4jj545k895z6w2c70ars06vrjhf9cpgg7qck";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
propagatedBuildInputs = [ xmltodict requests toml ];
|
||||||
# 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 ];
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest pytestcov coveralls pylint flake8 graphviz mock sphinx
|
pytest pytestcov coveralls pylint flake8 graphviz mock sphinx
|
||||||
sphinx_rtd_theme
|
sphinx_rtd_theme
|
||||||
|
Loading…
x
Reference in New Issue
Block a user