anchor.diff:    };
   
     buildInputs = [
  -    scons pkgconfig qt4 portaudio portmidi libusb1 libmad protobuf libvorbis
  -    taglib libid3tag flac libsndfile libshout rubberband fftw vampSDK chromaprint
  -    libopus sqlite
  +    chromaprint fftw flac libid3tag libmad libopus libshout libsndfile
  +    libusb1 libvorbis pkgconfig portaudio portmidi protobuf qt4
  +    rubberband scons sqlite taglib vampSDK
     ];
   
     sconsFlags = [
       "build=release"
       "qtdir=${qt4}"
     ];
  -
  -  postPatch = ''
  -    sed -i -e 's/"which /"type -P /' build/depends.py
  -  '';
   
     buildPhase = ''
       runHook preBuild
  
positive.code: { stdenv, fetchurl, scons, pkgconfig, qt4, portaudio, portmidi, libusb1
  , libmad, protobuf, libvorbis, taglib, libid3tag, flac, libsndfile, libshout
  , rubberband, fftw, vampSDK, chromaprint, libopus, sqlite
  }:
  
  stdenv.mkDerivation rec {
  
negative.code:     runHook postInstall
    '';
  
    meta = with stdenv.lib; {
      homepage = http://mixxx.org;
      description = "Digital DJ mixing software";
      license = licenses.gpl2Plus;
      maintainers = [ maintainers.aszlig maintainers.goibhniu ];
      platforms = platforms.linux;
    };
  }
  