anchor.diff:      xercesc
       zlib
       zstd
  +  ] ++ lib.optionals enableE57 [
  +    libe57format
     ];
   
     cmakeFlags = [
  -    "-DBUILD_PLUGIN_E57=ON"
  +    "-DBUILD_PLUGIN_E57=${if enableE57 then "ON" else "OFF"}"
       "-DBUILD_PLUGIN_HDF=ON"
       "-DBUILD_PLUGIN_PGPOINTCLOUD=ON"
       "-DBUILD_PLUGIN_TILEDB=ON"
  
positive.code:     gdal
      hdf5-cpp
      LASzip
      libe57format
      libgeotiff
      libxml2
      postgresql
  
negative.code: , gdal
  , hdf5-cpp
  , LASzip
  , enableE57 ? lib.meta.availableOn stdenv.hostPlatform libe57format
  , libe57format
  , libgeotiff
  , libxml2
  