nixpkgs/pkgs/applications/audio/traverso/default.nix
2018-11-21 16:16:55 -08:00

32 lines
1.1 KiB
Nix

{ stdenv, fetchurl, cmake, pkgconfig
, alsaLib, fftw, flac, lame, libjack2, libmad, libpulseaudio
, libsamplerate, libsndfile, libvorbis, portaudio, qtbase, wavpack
}:
stdenv.mkDerivation rec {
name = "traverso-${version}";
version = "0.49.5";
src = fetchurl {
url = "http://traverso-daw.org/traverso-0.49.5.tar.gz";
sha256 = "169dsqrf807ciavrd82d3iil0xy0r3i1js08xshcrn80ws9hv63m";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ alsaLib fftw flac.dev libjack2 lame
libmad libpulseaudio libsamplerate.dev libsndfile.dev libvorbis
portaudio qtbase wavpack ];
cmakeFlags = [ "-DWANT_PORTAUDIO=1" "-DWANT_PULSEAUDIO=1" "-DWANT_MP3_ENCODE=1" "-DWANT_LV2=0" ];
enableParallelBuilding = true;
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
description = "Cross-platform multitrack audio recording and audio editing suite";
homepage = http://traverso-daw.org/;
license = with licenses; [ gpl2Plus lgpl21Plus ];
platforms = platforms.all;
maintainers = with maintainers; [ coconnor ];
};
}