anchor.diff:  , requests
   , requests_oauthlib # required for google oauth sync
   , atomicwrites
  -, milksnake
  -, shippai
   , hypothesis
  -, pytest
  +, pytestCheckHook
   , pytest-localserver
   , pytest-subtesthack
   , setuptools_scm
   }:
   
  -# Packaging documentation at:
  -# https://github.com/pimutils/vdirsyncer/blob/0.16.7/docs/packaging.rst
   buildPythonPackage rec {
  -  version = "0.16.7";
  +  version = "0.16.8";
     pname = "vdirsyncer";
     disabled = isPy27;
   
     src = fetchPypi {
       inherit pname version;
  -    sha256 = "6c9bcfb9bcb01246c83ba6f8551cf54c58af3323210755485fc23bb7848512ef";
  +    sha256 = "bfdb422f52e1d4d60bd0635d203fb59fa7f613397d079661eb48e79464ba13c5";
     };
   
     propagatedBuildInputs = [
  
positive.code: { stdenv
  , pythonAtLeast
  , buildPythonPackage
  , fetchPypi
  , isPy27
  , fetchpatch
  , click
  , click-log
  , click-threading
  
negative.code: 
    checkInputs = [
      hypothesis
      pytestCheckHook
      pytest-localserver
      pytest-subtesthack
    ];
  
    postPatch = ''
      substituteInPlace setup.py --replace "click>=5.0,<6.0" "click"
    '';
  
    preCheck = ''
      export DETERMINISTIC_TESTS=true
    '';
  
    disabledTests = [ "test_verbosity" ];
  
    meta = with stdenv.lib; {
      homepage = "https://github.com/pimutils/vdirsyncer";
      description = "Synchronize calendars and contacts";
      license = licenses.mit;
      maintainers = with maintainers; [ loewenheim ];
    };
  }
  