2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, wrapQtAppsHook
|
2021-06-10 03:57:09 +01:00
|
|
|
, alsa-lib, boost, bzip2, fftw, fftwFloat, libX11, libfishsound, libid3tag
|
2020-03-26 21:10:10 +00:00
|
|
|
, libjack2, liblo, libmad, libogg, liboggz, libpulseaudio, libsamplerate
|
|
|
|
, libsndfile, lrdf, opusfile, qtbase, qtsvg, rubberband, serd, sord
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tony-2.1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://code.soundsoftware.ac.uk/attachments/download/2616/${name}.tar.gz";
|
|
|
|
sha256 = "03g2bmlj08lmgvh54dyd635xccjn730g4wwlhpvsw04bffz8b7fp";
|
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapQtAppsHook ];
|
2020-03-26 21:10:10 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
2021-06-10 03:57:09 +01:00
|
|
|
alsa-lib boost bzip2 fftw fftwFloat libX11 libfishsound libid3tag
|
2020-03-26 21:10:10 +00:00
|
|
|
libjack2 liblo libmad libogg liboggz libpulseaudio libsamplerate
|
|
|
|
libsndfile lrdf opusfile qtbase qtsvg rubberband serd sord
|
|
|
|
];
|
|
|
|
|
|
|
|
# comment out the tests
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's/sub_test_svcore_/#sub_test_svcore_/' tony.pro
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-26 21:10:10 +00:00
|
|
|
description = "Pitch and note annotation of unaccompanied melody";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.sonicvisualiser.org/tony/";
|
2020-03-26 21:10:10 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|