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
70 lines
1.3 KiB
Nix
70 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
boost,
|
|
libX11,
|
|
libGL,
|
|
liblo,
|
|
libjack2,
|
|
ladspaH,
|
|
lv2,
|
|
pkg-config,
|
|
rubberband,
|
|
libsndfile,
|
|
fftwFloat,
|
|
libsamplerate,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zam-plugins";
|
|
version = "4.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zamaudio";
|
|
repo = "zam-plugins";
|
|
tag = version;
|
|
hash = "sha256-pjnhDavKnyQjPF4nUO+j1J+Qtw8yIYMY9A5zBMb4zFU=";
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [
|
|
boost
|
|
libX11
|
|
libGL
|
|
liblo
|
|
libjack2
|
|
ladspaH
|
|
lv2
|
|
rubberband
|
|
libsndfile
|
|
fftwFloat
|
|
libsamplerate
|
|
];
|
|
|
|
postPatch = ''
|
|
patchShebangs ./dpf/utils/generate-ttl.sh
|
|
for f in plugins/*/Makefile; do
|
|
substituteInPlace "$f" \
|
|
--replace-quiet 'pkg-config' '${stdenv.cc.targetPrefix}pkg-config'
|
|
done
|
|
'';
|
|
|
|
makeFlags = [
|
|
"PREFIX=${placeholder "out"}"
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.zamaudio.com/?p=976";
|
|
description = "Collection of LV2/LADSPA/VST/JACK audio plugins by ZamAudio";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = [ maintainers.magnetophon ];
|
|
platforms = platforms.linux;
|
|
# tries to run dpf/utils/lv2_ttl_generator (built for host)
|
|
broken = !stdenv.buildPlatform.canExecute stdenv.hostPlatform;
|
|
};
|
|
}
|