9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
38 lines
1.2 KiB
Nix
38 lines
1.2 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, wrapQtAppsHook
|
|
, alsaLib, boost, bzip2, fftw, fftwFloat, libX11, libfishsound, libid3tag
|
|
, 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";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config wrapQtAppsHook ];
|
|
|
|
buildInputs = [
|
|
alsaLib boost bzip2 fftw fftwFloat libX11 libfishsound libid3tag
|
|
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; {
|
|
description = "Pitch and note annotation of unaccompanied melody";
|
|
homepage = "https://www.sonicvisualiser.org/tony/";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ orivej ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|