mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
pythonPackages.soco: 0.16 -> 0.17
Now works with latest pytestcov This transitively fixes beets which depends on soco, which now doesn't depend on pytest_3 anymore, which depends on pytestcov_3, which is broken.
This commit is contained in:
parent
7c2ac5b4c1
commit
c1f08d7c95
@ -1,22 +1,28 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, xmltodict, requests
|
||||
|
||||
# Test dependencies
|
||||
, pytest_3, pytestcov, coveralls, pylint, flake8, graphviz, mock, sphinx
|
||||
, pytest, pytestcov, coveralls, pylint, flake8, graphviz, mock, sphinx
|
||||
, sphinx_rtd_theme
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "soco";
|
||||
version = "0.16";
|
||||
version = "0.17";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7bed4475e3f134283af1f520a9b2e6ce2a8e69bdc1b58ee68528b3d093972424";
|
||||
sha256 = "15zw6i5z5p8vsa3lp20rjizhv4lzz935r73im0xm6zsl71bsgvj8";
|
||||
};
|
||||
|
||||
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 ];
|
||||
checkInputs = [
|
||||
pytest_3 pytestcov coveralls pylint flake8 graphviz mock sphinx
|
||||
pytest pytestcov coveralls pylint flake8 graphviz mock sphinx
|
||||
sphinx_rtd_theme
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user