anchor.diff:    nativeBuildInputs = with python3Packages; [ setuptools_scm ];
   
     checkInputs = with python3Packages; [ hypothesis pytest pytest-localserver pytest-subtesthack ];
  -
  -  patches = [
  -    # Fixes for hypothesis: https://github.com/pimutils/vdirsyncer/pull/779
  -    (fetchpatch {
  -      url = https://github.com/pimutils/vdirsyncer/commit/22ad88a6b18b0979c5d1f1d610c1d2f8f87f4b89.patch;
  -      sha256 = "0dbzj6jlxhdidnm3i21a758z83sdiwzhpd45pbkhycfhgmqmhjpl";
  -    })
  -    (fetchpatch {
  -      url = https://github.com/pimutils/vdirsyncer/commit/29417235321c249c65904bc7948b066ef5683aee.patch;
  -      sha256 = "0zvr0y88gm3vprjcdzs4m151laa9qhkyi61rvrfdjmf42fwhbm80";
  -    })
  -  ];
   
     postPatch = ''
       # Invalid argument: 'perform_health_check' is not a valid setting
  
positive.code:   name = "${pname}-${version}";
  
    src = fetchFromGitHub {
      owner = "pimutils";
      repo = pname;
      rev = "ac45cf144b0ceb72cc2a9f454808688f3ac9ba4f";
      sha256 = "0hqsjdpgvm7d34q5b2hzmrzfxk43ald1bx22mvgg559kw1ck54s9";
    };
  
    native = rustPlatform.buildRustPackage {
      name = "${name}-native";
      inherit src;
      sourceRoot = "source/rust";
      cargoSha256 = "1qziwlf6nlkpxb1hamb7qsipqg9ibp871rimgpwil38vqmyd570s";
      buildInputs = [ pkgconfig openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
    };
  
  
negative.code:   meta = with stdenv.lib; {
      homepage = https://github.com/pimutils/vdirsyncer;
      description = "Synchronize calendars and contacts";
      maintainers = with maintainers; [ matthiasbeyer gebner ];
      license = licenses.mit;
    };
  }
  