2020-04-24 23:36:52 +00:00
|
|
|
# TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
{ lib, stdenv, fetchurl, alsa-lib, bzip2, fftw, libjack2, libX11, liblo
|
2020-09-25 04:45:31 +00:00
|
|
|
, libmad, lrdf, librdf_raptor, librdf_rasqal, libsamplerate
|
|
|
|
, libsndfile, pkg-config, libpulseaudio, qtbase, qtsvg, redland
|
2020-04-24 23:36:52 +00:00
|
|
|
, rubberband, serd, sord, vamp-plugin-sdk, fftwFloat
|
|
|
|
, capnproto, liboggz, libfishsound, libid3tag, opusfile
|
2023-03-24 00:07:29 +00:00
|
|
|
, wrapQtAppsHook, meson, ninja, cmake
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sonic-visualiser";
|
2023-03-24 00:07:29 +00:00
|
|
|
version = "4.5.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-03-24 00:07:29 +00:00
|
|
|
url = "https://code.soundsoftware.ac.uk/attachments/download/2841/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1sgg4m3035a03ldipgysz7zqfa9pqaqa4j024gyvvcwh4ml8iasr";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-03-24 00:07:29 +00:00
|
|
|
nativeBuildInputs = [ meson ninja cmake pkg-config wrapQtAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs =
|
|
|
|
[ libsndfile qtbase qtsvg fftw fftwFloat bzip2 lrdf rubberband
|
2021-06-28 23:13:55 +00:00
|
|
|
libsamplerate vamp-plugin-sdk alsa-lib librdf_raptor librdf_rasqal redland
|
2020-04-24 23:36:52 +00:00
|
|
|
serd
|
|
|
|
sord
|
|
|
|
# optional
|
|
|
|
libjack2
|
|
|
|
# portaudio
|
|
|
|
libpulseaudio
|
|
|
|
libmad
|
|
|
|
libfishsound
|
|
|
|
liblo
|
|
|
|
libX11
|
|
|
|
capnproto
|
|
|
|
liboggz
|
|
|
|
libid3tag
|
|
|
|
opusfile
|
|
|
|
];
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "View and analyse contents of music audio files";
|
|
|
|
homepage = "https://www.sonicvisualiser.org/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.goibhniu maintainers.marcweber ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|