anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / audio / traverso / default.nix
blobb8a81ec7a8e97464d1053bda9fac9cbfc0ea0941
1 { mkDerivation, lib, fetchurl, cmake, pkg-config
2 , alsa-lib, fftw, flac, lame, libjack2, libmad, libpulseaudio
3 , libsamplerate, libsndfile, libvorbis, portaudio, qtbase, wavpack
4 }:
5 mkDerivation {
6   pname = "traverso";
7   version = "0.49.6";
9   src = fetchurl {
10     url = "https://traverso-daw.org/traverso-0.49.6.tar.gz";
11     sha256 = "12f7x8kw4fw1j0xkwjrp54cy4cv1ql0zwz2ba5arclk4pf6bhl7q";
12   };
14   nativeBuildInputs = [ cmake pkg-config ];
15   buildInputs = [ alsa-lib fftw flac.dev libjack2 lame
16                   libmad libpulseaudio libsamplerate.dev libsndfile.dev libvorbis
17                   portaudio qtbase wavpack ];
19   cmakeFlags = [ "-DWANT_PORTAUDIO=1" "-DWANT_PULSEAUDIO=1" "-DWANT_MP3_ENCODE=1" "-DWANT_LV2=0" ];
21   hardeningDisable = [ "format" ];
23   meta = with lib; {
24     description = "Cross-platform multitrack audio recording and audio editing suite";
25     mainProgram = "traverso";
26     homepage = "https://traverso-daw.org/";
27     license = with licenses; [ gpl2Plus lgpl21Plus ];
28     platforms = platforms.all;
29     maintainers = with maintainers; [ coconnor ];
30   };