mixxx: tidy up, remove obsolete patch, co-adopt

+12 -15
+12 -15
pkgs/applications/audio/mixxx/default.nix
··· 1 - { stdenv, fetchurl, scons, pkgconfig, qt4, portaudio, portmidi, libusb1 2 - , libmad, protobuf, libvorbis, taglib, libid3tag, flac, libsndfile, libshout 3 - , rubberband, fftw, vampSDK, chromaprint, libopus, sqlite 4 }: 5 6 stdenv.mkDerivation rec { ··· 13 }; 14 15 buildInputs = [ 16 - scons pkgconfig qt4 portaudio portmidi libusb1 libmad protobuf libvorbis 17 - taglib libid3tag flac libsndfile libshout rubberband fftw vampSDK chromaprint 18 - libopus sqlite 19 ]; 20 21 sconsFlags = [ ··· 23 "qtdir=${qt4}" 24 ]; 25 26 - postPatch = '' 27 - sed -i -e 's/"which /"type -P /' build/depends.py 28 - ''; 29 - 30 buildPhase = '' 31 runHook preBuild 32 mkdir -p "$out" ··· 42 runHook postInstall 43 ''; 44 45 - meta = { 46 - homepage = "http://mixxx.org/"; 47 description = "Digital DJ mixing software"; 48 - license = stdenv.lib.licenses.gpl2Plus; 49 - maintainers = [ stdenv.lib.maintainers.aszlig ]; 50 - platforms = stdenv.lib.platforms.linux; 51 }; 52 }
··· 1 + { stdenv, fetchurl, chromaprint, fftw, flac, libid3tag, libmad 2 + , libopus, libshout, libsndfile, libusb1, libvorbis, pkgconfig 3 + , portaudio, portmidi, protobuf, qt4, rubberband, scons, sqlite 4 + , taglib, vampSDK 5 }: 6 7 stdenv.mkDerivation rec { ··· 14 }; 15 16 buildInputs = [ 17 + chromaprint fftw flac libid3tag libmad libopus libshout libsndfile 18 + libusb1 libvorbis pkgconfig portaudio portmidi protobuf qt4 19 + rubberband scons sqlite taglib vampSDK 20 ]; 21 22 sconsFlags = [ ··· 24 "qtdir=${qt4}" 25 ]; 26 27 buildPhase = '' 28 runHook preBuild 29 mkdir -p "$out" ··· 39 runHook postInstall 40 ''; 41 42 + meta = with stdenv.lib; { 43 + homepage = http://mixxx.org; 44 description = "Digital DJ mixing software"; 45 + license = licenses.gpl2Plus; 46 + maintainers = [ maintainers.aszlig maintainers.goibhniu ]; 47 + platforms = platforms.linux; 48 }; 49 }