iamb: cleaning (#365160)
[NixPkgs.git] / pkgs / applications / audio / traverso / default.nix
blobd58ccbf940f0a196dd8f4e0983337d6d922af6c8
2   mkDerivation,
3   lib,
4   fetchurl,
5   cmake,
6   pkg-config,
7   alsa-lib,
8   fftw,
9   flac,
10   lame,
11   libjack2,
12   libmad,
13   libpulseaudio,
14   libsamplerate,
15   libsndfile,
16   libvorbis,
17   portaudio,
18   qtbase,
19   wavpack,
21 mkDerivation {
22   pname = "traverso";
23   version = "0.49.6";
25   src = fetchurl {
26     url = "https://traverso-daw.org/traverso-0.49.6.tar.gz";
27     sha256 = "12f7x8kw4fw1j0xkwjrp54cy4cv1ql0zwz2ba5arclk4pf6bhl7q";
28   };
30   nativeBuildInputs = [
31     cmake
32     pkg-config
33   ];
34   buildInputs = [
35     alsa-lib
36     fftw
37     flac.dev
38     libjack2
39     lame
40     libmad
41     libpulseaudio
42     libsamplerate.dev
43     libsndfile.dev
44     libvorbis
45     portaudio
46     qtbase
47     wavpack
48   ];
50   cmakeFlags = [
51     "-DWANT_PORTAUDIO=1"
52     "-DWANT_PULSEAUDIO=1"
53     "-DWANT_MP3_ENCODE=1"
54     "-DWANT_LV2=0"
55   ];
57   hardeningDisable = [ "format" ];
59   meta = with lib; {
60     description = "Cross-platform multitrack audio recording and audio editing suite";
61     mainProgram = "traverso";
62     homepage = "https://traverso-daw.org/";
63     license = with licenses; [
64       gpl2Plus
65       lgpl21Plus
66     ];
67     platforms = platforms.all;
68     maintainers = with maintainers; [ coconnor ];
69   };