anchor.diff:  , pkgconfig, libtool
   , gtk, mesa, readline, libX11, libXpm
   , docbook_xml_dtd_45, docbook_xsl
  -, sdlSupport ? true, SDL ? null
  +, sdlSupport ? true, SDL2 ? null
   , termSupport ? true , ncurses ? null
   , wxSupport ? false, wxGTK ? null # Warning! Broken
   # Optional, undocumented dependencies
  
positive.code: stdenv.mkDerivation rec {
  
    name = "bochs-${version}";
    version = "2.6.6";
  
    src = fetchurl {
      url = "http://downloads.sourceforge.net/project/bochs/bochs/${version}/${name}.tar.gz";
      sha256 = "0nlrl218x93vz97n46aw2szsalx97r020mn43fjsif100v7zix6f";
    };
  
    # The huge list of configurable options
  
negative.code:   buildInputs = with stdenv.lib;
    [ pkgconfig libtool gtk mesa readline libX11 libXpm docbook_xml_dtd_45 docbook_xsl ]
    ++ optionals termSupport [ ncurses ]
    ++ optionals sdlSupport [ SDL2 ]
    ++ optionals wxSupport [ wxGTK ]
    ++ optionals wgetSupport [ wget ]
    ++ optionals curlSupport [ curl ];
  