3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/sonic-lineup/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, alsa-lib, boost, bzip2, fftw, fftwFloat, libfishsound
, libid3tag, liblo, libmad, liboggz, libpulseaudio, libsamplerate
, libsndfile, lrdf, opusfile, portaudio, rubberband, serd, sord, capnproto
, wrapQtAppsHook, pkg-config
2020-02-22 19:50:47 +00:00
}:
stdenv.mkDerivation rec {
pname = "sonic-lineup";
2020-09-19 13:58:07 +01:00
version = "1.1";
2020-02-22 19:50:47 +00:00
src = fetchurl {
2020-09-19 13:58:07 +01:00
url = "https://code.soundsoftware.ac.uk/attachments/download/2765/${pname}-${version}.tar.gz";
sha256 = "0k45k9fawcm4s5yy05x00pgww7j8m7k2cxcc7g0fn9vqy7vcbq9h";
2020-02-22 19:50:47 +00:00
};
buildInputs =
[ alsa-lib boost bzip2 fftw fftwFloat libfishsound libid3tag liblo
libmad liboggz libpulseaudio libsamplerate libsndfile lrdf opusfile
2020-02-22 19:50:47 +00:00
portaudio rubberband serd sord capnproto
];
nativeBuildInputs = [ pkg-config wrapQtAppsHook ];
2020-02-22 19:50:47 +00:00
enableParallelBuilding = true;
# comment out the tests
preConfigure = ''
sed -i 's/sub_test_svcore_/#sub_test_svcore_/' sonic-lineup.pro
'';
meta = with lib; {
2020-02-22 19:50:47 +00:00
description = "Comparative visualisation of related audio recordings";
homepage = "https://www.sonicvisualiser.org/sonic-lineup/";
2020-02-22 19:50:47 +00:00
license = licenses.gpl2Plus;
maintainers = [ maintainers.vandenoever ];
platforms = platforms.linux;
};
}