anchor.diff:      sha256 = "1751sf6brwwl1dq64155s4a12784q35dyqfy028qrwr1ilafhbci";
     };
   
  +  nativeBuildInputs = [
  +    gettext
  +    ruby
  +  ];
  +
  +  buildInputs = [
  +    boost
  +    expat
  +    file
  +    flac
  +    libebml
  +    libmatroska
  +    libogg
  +    libvorbis
  +    qt5.qtbase
  +    xdg_utils
  +    zlib
  +  ] ++ optionals (!stdenv.cc.isGNU) [
  +    libiconv
  +  ];
  +
     postPatch = ''
       patchShebangs ./rake.d/
       patchShebangs ./Rakefile
  
positive.code:     "--disable-tools"
    ];
  
    nativeBuildInputs = [
      gettext
      ruby
    ];
  
    buildInputs = [
      boost
      expat
      file
      flac
      libebml
      libmatroska
      libogg
      libvorbis
      qt5.qtbase
      xdg_utils
      zlib
    ] ++ optionals (!stdenv.cc.isGNU) [
      libiconv
    ];
  
    buildPhase = ''
      ./drake -j $NIX_BUILD_CORES
    '';
  
negative.code:   installPhase = ''
      ./drake install -j $NIX_BUILD_CORES
    '';
  
    meta = with stdenv.lib; {
      description = "Cross-platform tools for Matroska";
  