anchor.diff:    nativeBuildInputs = [ autoconf automake halibut libtool perl pkgconfig ];
     buildInputs = lib.optionals stdenv.hostPlatform.isUnix [
       gtk2 ncurses
  -  ];
  +  ] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.libs.utmp;
     enableParallelBuilding = true;
   
     meta = with lib; {
  
positive.code:   preConfigure = lib.optionalString stdenv.hostPlatform.isUnix ''
      perl mkfiles.pl
      ( cd doc ; make );
      sed -e '/AM_PATH_GTK(/d' \
          -e '/AC_OUTPUT/iAM_PROG_CC_C_O' \
          -e '/AC_OUTPUT/iAM_PROG_AR' -i configure.ac
      ./mkauto.sh
      cd unix
    '' + lib.optionalString stdenv.hostPlatform.isWindows ''
  
negative.code:       "https://the.earth.li/~sgtatham/putty/${version}/${pname}-${version}.tar.gz"
        "ftp://ftp.wayne.edu/putty/putty-website-mirror/${version}/${pname}-${version}.tar.gz"
      ];
      sha256 = "076z34jpik2dmlwxicvf1djjgnahcqv12rjhmb9yq6ml7x0bbc1x";
    };
  
    # glib-2.62 deprecations
  