anchor.diff:      #libva
       libvdpau
       llvm
  +    lm-sensors
       openssl
  -    systemd_lib
       wayland
       xorg.dri2proto
       xorg.dri3proto
  
positive.code:     optionalString
      splitString;
  
    # this is the default search path for DRI drivers
    driverSearchPath = "/run/opengl-driver-${stdenv.targetSystem}";
  in
  stdenv.mkDerivation rec {
    name = "mesa-noglu-${version}";
    version = "12.0.3";
  
    src =  fetchurl {
      urls = [
        "ftp://ftp.freedesktop.org/pub/mesa/${version}/mesa-${version}.tar.xz"
        # Tarballs for old releases are moved to another directory
        ("ftp://ftp.freedesktop.org/pub/mesa/older-versions/"
          + head (splitString "." version)
          + ".x/${version}/mesa-${version}.tar.xz")
      ];
      multihash = "QmT7WzMaNSBaMWDVJhPiqgfe7cpA1QwsWdyZvJjWGpsQwY";
      hashOutput = false;  # Provided by upstream directly
      sha256 = "1dc86dd9b51272eee1fad3df65e18cda2e556ef1bc0b6e07cd750b9757f493b1";
    };
  
    nativeBuildInputs = [
  
negative.code: #, libva
  , libvdpau
  , llvm
  , lm-sensors
  , openssl
  , wayland
  , xorg
  
  