anchor.diff:  
   stdenv.mkDerivation rec {
     name = "libbluray-${version}";
  -  version  = "0.9.2";
  +  version  = "1.0.0";
   
     src = fetchurl {
       url = "http://get.videolan.org/libbluray/${version}/${name}.tar.bz2";
  -    sha256 = "1sp71j4agcsg17g6b85cqz78pn5vknl5pl39rvr6mkib5ps99jgg";
  +    sha256 = "1k3lag4lxi2jjd3zh4wcb5l3hadzm54j5kagh92yzfy76p9svqzp";
     };
  +
  +  patches = optional withJava ./BDJ-JARFILE-path.patch;
   
     nativeBuildInputs = [ pkgconfig autoreconfHook ]
                         ++ optionals withJava [ ant ]
  
positive.code:                 ++ optional withFonts freetype
                  ;
  
    propagatedBuildInputs = stdenv.lib.optional withAACS libaacs;
  
    preConfigure = ''
      ${optionalString withJava ''export JDK_HOME="${jdk.home}"''}
      ${optionalString withAACS ''export NIX_LDFLAGS="$NIX_LDFLAGS -L${libaacs}/lib -laacs"''}
      ${optionalString withBDplus ''export NIX_LDFLAGS="$NIX_LDFLAGS -L${libbdplus}/lib -lbdplus"''}
    '';
  
    configureFlags =  with stdenv.lib;
  
negative.code:                  ++ optional (! withFonts) "--without-freetype"
                   ;
  
    meta = with stdenv.lib; {
      homepage = http://www.videolan.org/developers/libbluray.html;
      description = "Library to access Blu-Ray disks for video playback";
      license = licenses.lgpl21;
      maintainers = with maintainers; [ abbradar ];
      platforms = platforms.unix;
    };
  }
  