Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

98 lines
1.7 KiB
Nix

{
lib,
stdenv,
fetchurl,
fetchpatch2,
alsa-lib,
boost,
bzip2,
fftw,
fftwFloat,
libfishsound,
libid3tag,
liblo,
libmad,
liboggz,
libpulseaudio,
libsamplerate,
libsndfile,
lrdf,
opusfile,
portaudio,
rubberband,
serd,
sord,
capnproto,
wrapQtAppsHook,
pkg-config,
libjack2,
}:
stdenv.mkDerivation rec {
pname = "sonic-lineup";
version = "1.1";
src = fetchurl {
url = "https://code.soundsoftware.ac.uk/attachments/download/2765/${pname}-${version}.tar.gz";
sha256 = "0k45k9fawcm4s5yy05x00pgww7j8m7k2cxcc7g0fn9vqy7vcbq9h";
};
patches = [
(fetchpatch2 {
url = "https://github.com/sonic-visualiser/svcore/commit/5a7b517e43b7f0b3f03b7fc3145102cf4e5b0ffc.patch";
stripLen = 1;
extraPrefix = "svcore/";
sha256 = "sha256-DOCdQqCihkR0g/6m90DbJxw00QTpyVmFzCxagrVWKiI=";
})
./match-vamp.patch
];
buildInputs = [
alsa-lib
boost
bzip2
fftw
fftwFloat
libfishsound
libid3tag
liblo
libmad
liboggz
libpulseaudio
libsamplerate
libsndfile
lrdf
opusfile
portaudio
rubberband
serd
sord
capnproto
libjack2
];
nativeBuildInputs = [
capnproto # capnp
pkg-config
wrapQtAppsHook
];
strictDeps = true;
enableParallelBuilding = true;
# comment out the tests
preConfigure = ''
sed -i 's/sub_test_svcore_/#sub_test_svcore_/' sonic-lineup.pro
'';
meta = with lib; {
description = "Comparative visualisation of related audio recordings";
mainProgram = "sonic-lineup";
homepage = "https://www.sonicvisualiser.org/sonic-lineup/";
license = licenses.gpl2Plus;
maintainers = [ maintainers.vandenoever ];
platforms = platforms.linux;
};
}