1 { lib, stdenv, fetchurl, fetchpatch2, pkg-config, wrapQtAppsHook
2 , alsa-lib, boost, bzip2, fftw, fftwFloat, libX11, libfishsound, libid3tag
3 , libjack2, liblo, libmad, libogg, liboggz, libpulseaudio, libsamplerate
4 , libsndfile, lrdf, opusfile, qtbase, qtsvg, rubberband, serd, sord
7 stdenv.mkDerivation rec {
12 url = "https://code.soundsoftware.ac.uk/attachments/download/2616/${pname}-${version}.tar.gz";
13 sha256 = "03g2bmlj08lmgvh54dyd635xccjn730g4wwlhpvsw04bffz8b7fp";
18 url = "https://github.com/sonic-visualiser/svcore/commit/5a7b517e43b7f0b3f03b7fc3145102cf4e5b0ffc.patch";
20 extraPrefix = "svcore/";
21 sha256 = "sha256-DOCdQqCihkR0g/6m90DbJxw00QTpyVmFzCxagrVWKiI=";
24 url = "https://github.com/sonic-visualiser/svgui/commit/5b6417891cff5cc614e8c96664d68674eb12b191.patch";
26 extraPrefix = "svgui/";
27 excludes = [ "svgui/widgets/CSVExportDialog.cpp" ];
28 sha256 = "sha256-pBCtoMXgjreUm/D0pl6+R9x1Ovwwwj8Ohv994oMX8XA=";
32 nativeBuildInputs = [ pkg-config wrapQtAppsHook ];
35 alsa-lib boost bzip2 fftw fftwFloat libX11 libfishsound libid3tag
36 libjack2 liblo libmad libogg liboggz libpulseaudio libsamplerate
37 libsndfile lrdf opusfile qtbase qtsvg rubberband serd sord
40 # comment out the tests
42 sed -i 's/sub_test_svcore_/#sub_test_svcore_/' tony.pro
45 enableParallelBuilding = true;
48 description = "Pitch and note annotation of unaccompanied melody";
50 homepage = "https://www.sonicvisualiser.org/tony/";
51 license = licenses.gpl2Plus;
52 maintainers = with maintainers; [ orivej ];
53 platforms = platforms.linux;