anchor.diff:    crossAttrs = {
       dontSetConfigureCross = true;
       # Some things (vidix) are nanonote specific. Once someone cares, we can make options from them.
  -    preConfigure = preConfigure + ''
  +    preConfigure = ''
         configureFlags="`echo $configureFlags |
           sed -e 's/--codecsdir[^ ]\+//' \
           -e 's/--enable-runtime-cpudetection//' `"
  
positive.code: { alsaSupport ? true, xvSupport ? true, theoraSupport ? true, cacaSupport ? true
  , xineramaSupport ? true, randrSupport ? true, dvdnavSupport ? true
  , stdenv, fetchurl, fetchsvn, fetchgit, x11, freetype, fontconfig, zlib
  , alsaLib ? null, libXv ? null, libtheora ? null, libcaca ? null
  , libXinerama ? null, libXrandr ? null, libdvdnav ? null
  , cdparanoia ? null, cddaSupport ? true
  , amrnb ? null, amrwb ? null, amrSupport ? false
  , x11Support ? true, libX11 ? null, libXext ? null
  , jackaudioSupport ? false, jackaudio ? null
  , x264Support ? false, x264 ? null
  , xvidSupport ? false, xvidcore ? null
  , lameSupport ? true, lame ? null
  , speexSupport ? true, speex ? null
  , screenSaverSupport ? true, libXScrnSaver
  , pulseSupport ? false, pulseaudio
  , mesa, pkgconfig, unzip, yasm, freefont_ttf
  , vdpauSupport ? false, libvdpau ? null
  }:
  
  assert alsaSupport -> alsaLib != null;
  assert x11Support -> libX11 != null;
  assert xvSupport -> (libXv != null && x11Support);
  assert theoraSupport -> libtheora != null;
  assert cacaSupport -> libcaca != null;
  assert xineramaSupport -> (libXinerama != null && x11Support);
  assert randrSupport -> (libXrandr != null && x11Support);
  assert dvdnavSupport -> libdvdnav != null;
  assert cddaSupport -> cdparanoia != null;
  assert jackaudioSupport -> jackaudio != null;
  assert amrSupport -> (amrnb != null && amrwb != null);
  assert screenSaverSupport -> libXScrnSaver != null;
  assert vdpauSupport -> libvdpau != null;
  assert speexSupport -> speex != null;
  
  let
  
  
negative.code:     };
    } else null;
  
  in
  
  stdenv.mkDerivation rec {
    name = "mplayer-1.1";
  
    src = fetchurl {
      # Old kind of URL:
      # url = http://nixos.org/tarballs/mplayer-snapshot-20101227.tar.bz2;
      # Snapshot I took on 20110423
  