python3Packages.vdirsyncer: relax click-log constraint

This commit is contained in:
Martin Weinelt 2022-04-15 01:19:26 +02:00
parent 56a90cd791
commit bd382e6341

View file

@ -28,6 +28,13 @@ buildPythonPackage rec {
hash = "sha256-J7w+1R93STX7ujkpFcjI1M9jmuUaRLZ0aGtJoQJfwgE=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "click-log>=0.3.0, <0.4.0" "click-log>=0.3.0, <0.5.0"
sed -i -e '/--cov/d' -e '/--no-cov/d' setup.cfg
'';
propagatedBuildInputs = [
atomicwrites
click
@ -49,10 +56,6 @@ buildPythonPackage rec {
pytest-subtesthack
];
postPatch = ''
sed -i -e '/--cov/d' -e '/--no-cov/d' setup.cfg
'';
preCheck = ''
export DETERMINISTIC_TESTS=true
'';