anchor.diff:    };
   
     repository-s3 = esPlugin rec {
  -    name = "elasticsearch-repository-s3-${version}";
       pluginName = "repository-s3";
       version = esVersion;
       src = fetchurl {
  
positive.code:   search-guard = let
      majorVersion = lib.head (builtins.splitVersion esVersion);
    in esPlugin rec {
      name = "elasticsearch-search-guard-${version}";
      pluginName = "search-guard";
      version =
        if esVersion == "7.3.1" then "${esVersion}-37.0.0"
  
negative.code: in {
  
    analysis-lemmagen = esPlugin rec {
      pluginName = "analysis-lemmagen";
      version = esVersion;
      src = fetchurl {
        url = "https://github.com/vhyza/${pluginName}/releases/download/v${version}/${pluginName}-${version}-plugin.zip";
        sha256 =
          if version == "7.3.1" then "1nb82z6s94mzdx1srb1pwj7cpzs8w74njap0xiqn7sg5ylk6adm8"
          else if version == "6.8.3" then "12bshvp01pp2lgwd0cn9l58axg8gdimsh4g9wfllxi1bdpv4cy53"
  