anchor.diff:  , pythonOlder
   , icalendar
   , lxml
  -, mock
   , nose
   , pytz
   , requests
  
positive.code: 
  buildPythonPackage rec {
    pname = "caldav";
    version = "0.8.0";
  
    src = fetchFromGitHub {
      owner = "python-caldav";
      repo = pname;
      rev = "v${version}";
      sha256 = "11q3svns3a2ywfci739krxbh67cx691qja772wq22606blyygyjy";
    };
  
    nativeBuildInputs = lib.optionals (pythonOlder "3.5") [ mock ];
    propagatedBuildInputs = [ six requests vobject lxml ]
      ++ lib.optionals (pythonOlder "3.6") [ pytz tzlocal ];
  
    checkInputs = [
      icalendar
      nose
      tzlocal
    ];
  
    checkPhase = ''
  
negative.code:     description = "This project is a CalDAV (RFC4791) client library for Python.";
      homepage = "https://github.com/python-caldav/caldav";
      license = licenses.asl20;
      maintainers = with maintainers; [ marenz dotlambda ];
    };
  }
  