anchor.diff:      "--with-mysql-includes=${lib.getDev libmysqlclient}/include/mysql"
       "--with-mysql-libs=${libmysqlclient}/lib/mysql"
       "--with-blas"
  -    "--with-liblas=${libLAS}/bin/liblas-config"
       "--with-zstd"
       "--with-fftw"
       "--with-pthread"
  
positive.code:     sha256 = "sha256-VK9FCqIwHGmeJe5lk12lpAGcsC1aPRBiI+XjACXjDd4=";
    };
  
    nativeBuildInputs = [ pkg-config makeWrapper ];
    buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite
    readline ffmpeg netcdf geos postgresql libmysqlclient blas
    libLAS proj-datumgrid zstd wrapGAppsHook ]
      ++ lib.optionals stdenv.isLinux [ cairo pdal wxGTK31 ]
      ++ lib.optional stdenv.isDarwin wxmac
      ++ (with python3Packages; [ python python-dateutil numpy ]
        ++ lib.optional stdenv.isDarwin wxPython_4_0
        ++ lib.optional stdenv.isLinux wxPython_4_1);
  
    # On Darwin the installer tries to symlink the help files into a system
    # directory
  
negative.code: { lib, stdenv, fetchFromGitHub, flex, bison, pkg-config, zlib, libtiff, libpng, fftw
  , cairo, readline, ffmpeg, makeWrapper, wxGTK32, libiconv, netcdf, blas
  , proj, gdal, geos, sqlite, postgresql, libmysqlclient, python3Packages, proj-datumgrid
  , zstd, pdal, wrapGAppsHook
  }:
  
  