anchor.diff:    preConfigure = ''
       export PKG_CONFIG_LIBDIR="$out/lib/pkgconfig"
       mkdir -p "$PKG_CONFIG_LIBDIR"
  -  '' + stdenv.lib.optionalString stdenv.isCygwin ''
  +  '' + lib.optionalString stdenv.isCygwin ''
       sed -i -e 's,LIB_SUFFIX="t,LIB_SUFFIX=",' configure
     '';
   
  
positive.code: { stdenv, fetchurl
  
  # Optional Dependencies
  , gpm ? null
  
  # Extra Options
  , abiVersion ? "5"
  , unicode ? true
  }:
  
  with stdenv.lib;
  let
    buildShared = !stdenv.isDarwin;
  
    optGpm = stdenv.shouldUsePkg gpm;
  in
  stdenv.mkDerivation rec {
    name = "ncurses-5.9";
  
  
negative.code: 
    patches = [ ./clang.patch ];
  
    configureFlags =
      [ "--with-shared" "--without-debug" "--enable-pc-files" "--enable-symlinks" ]
      ++ lib.optional unicode "--enable-widec";
  
    buildInputs = lib.optional (mouseSupport && stdenv.isLinux) gpm;
  
    # PKG_CONFIG_LIBDIR is where the *.pc files will be installed. If this
    # directory doesn't exist, the configure script will disable installation of
  