anchor.diff:      owner = "intel";
       repo = "media-driver";
       rev = "intel-media-${version}";
  -    sha256 = "04r03f48j1nly0j6aq8017va9m3yrnscv6lbrvf3a98fpwk9gc1l";
  +    sha256 = "0giba5274kzpjb5rp3d9bbnvcz7fp8ybi4s3hha2idxk0l5yamf1";
     };
   
     patches = [
  
positive.code: 
    nativeBuildInputs = [ cmake pkg-config ];
  
    buildInputs = [ libva libpciaccess intel-gmmlib ]
      ++ lib.optional enableX11 libX11;
  
    postFixup = lib.optionalString enableX11 ''
  
negative.code: , libva
  , libpciaccess
  , intel-gmmlib
  , libdrm
  , enableX11 ? stdenv.isLinux
  , libX11
  }:
  
  stdenv.mkDerivation rec {
    pname = "intel-media-driver";
    version = "22.1.0";
  
    outputs = [ "out" "dev" ];
  
  