anchor.diff:  
     enableParallelBuilding = true;
   
  -  meta = {
  +  meta = with lib; {
  +    homepage = "http://bochs.sourceforge.io/";
       description = "An open-source IA-32 (x86) PC emulator";
       longDescription = ''
         Bochs is an open-source (LGPL), highly portable IA-32 PC emulator, written
         in C++, that runs on most popular platforms. It includes emulation of the
         Intel x86 CPU, common I/O devices, and a custom BIOS.
       '';
  -    homepage = "http://bochs.sourceforge.net/";
       license = licenses.lgpl2Plus;
       maintainers = with maintainers; [ AndersonTorres ];
       platforms = platforms.unix;
     };
   }
   # TODO: plugins
  -# TODO: svga support - the Bochs sources explicitly cite /usr/include/vga.h
   # TODO: a better way to organize the options
  
positive.code:   };
  
    patches = [
      ./bochs-2.6.11-glibc-2.26.patch
      ./fix-build-smp.patch
      ./bochs_fix_narrowing_conv_warning.patch
    ];
  
    buildInputs =
    [ pkg-config libtool gtk2 libGLU libGL readline libX11 libXpm docbook_xml_dtd_45 docbook_xsl ]
    ++ optionals termSupport [ ncurses ]
    ++ optionals sdlSupport [ SDL2 ]
    ++ optionals wxSupport [ wxGTK ]
    ++ optionals wgetSupport [ wget ]
    ++ optionals curlSupport [ curl ];
  
    configureFlags = [
      "--with-x=yes"
  
negative.code: { lib
  , stdenv
  , fetchurl
  , SDL2
  , curl
  , docbook_xml_dtd_45
  , docbook_xsl
  , gtk2
  , libGL
  , libGLU
  , libX11
  , libXpm
  , libtool
  , ncurses
  , pkg-config
  , readline
  , wget
  , wxGTK
  }:
  
  stdenv.mkDerivation rec {
    pname = "bochs";
    version = "2.6.11";
  
  