nixpkgs/pkgs/applications/audio/traverso/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

31 lines
1.1 KiB
Nix

{ mkDerivation, lib, fetchurl, cmake, pkg-config
, alsa-lib, fftw, flac, lame, libjack2, libmad, libpulseaudio
, libsamplerate, libsndfile, libvorbis, portaudio, qtbase, wavpack
}:
mkDerivation {
pname = "traverso";
version = "0.49.6";
src = fetchurl {
url = "https://traverso-daw.org/traverso-0.49.6.tar.gz";
sha256 = "12f7x8kw4fw1j0xkwjrp54cy4cv1ql0zwz2ba5arclk4pf6bhl7q";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ alsa-lib 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" ];
hardeningDisable = [ "format" ];
meta = with lib; {
description = "Cross-platform multitrack audio recording and audio editing suite";
mainProgram = "traverso";
homepage = "https://traverso-daw.org/";
license = with licenses; [ gpl2Plus lgpl21Plus ];
platforms = platforms.all;
maintainers = with maintainers; [ coconnor ];
};
}