anchor.diff:  , curl
   , gsoap
   , enableTools ? true
  -  # Build the bundled libcurl
  -  # and, if defaultToLibCurl,
  -  # use instead of an external one
  -, useEmbeddedLibcurl ? true
     # Use libcurl instead of libneon
     # Note that the libneon used is bundled in the project
     # See https://github.com/cern-fts/davix/issues/23
  
positive.code: 
    cmakeFlags = [
      "-DENABLE_TOOLS=${boolToUpper enableTools}"
      "-DEMBEDDED_LIBCURL=${boolToUpper useEmbeddedLibcurl}"
      "-DLIBCURL_BACKEND_BY_DEFAULT=${boolToUpper defaultToLibcurl}"
      "-DENABLE_IPV6=${boolToUpper enableIpv6}"
      "-DENABLE_TCP_NODELAY=${boolToUpper enableTcpNodelay}"
  
negative.code:     libxml2
      boost
      libuuid
      curl
    ]
    ++ lib.optional (enableThirdPartyCopy) gsoap;
  
    # using the url below since the github release page states
  