nixpkgs-suyu/pkgs/applications/audio/tony/default.nix

39 lines
1.2 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, wrapQtAppsHook
, alsa-lib, boost, bzip2, fftw, fftwFloat, libX11, libfishsound, libid3tag
2020-03-26 22:10:10 +01:00
, libjack2, liblo, libmad, libogg, liboggz, libpulseaudio, libsamplerate
, libsndfile, lrdf, opusfile, qtbase, qtsvg, rubberband, serd, sord
}:
stdenv.mkDerivation rec {
pname = "tony";
version = "2.1.1";
2020-03-26 22:10:10 +01:00
src = fetchurl {
url = "https://code.soundsoftware.ac.uk/attachments/download/2616/${pname}-${version}.tar.gz";
2020-03-26 22:10:10 +01:00
sha256 = "03g2bmlj08lmgvh54dyd635xccjn730g4wwlhpvsw04bffz8b7fp";
};
nativeBuildInputs = [ pkg-config wrapQtAppsHook ];
2020-03-26 22:10:10 +01:00
buildInputs = [
alsa-lib boost bzip2 fftw fftwFloat libX11 libfishsound libid3tag
2020-03-26 22:10:10 +01: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;
meta = with lib; {
2020-03-26 22:10:10 +01:00
description = "Pitch and note annotation of unaccompanied melody";
homepage = "https://www.sonicvisualiser.org/tony/";
2020-03-26 22:10:10 +01:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}