2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, boost, libX11, libGL, liblo, libjack2, ladspaH, lv2, pkg-config, rubberband, libsndfile, fftwFloat, libsamplerate }:
|
2015-05-04 10:29:37 +01:00
|
|
|
|
2020-10-14 10:41:53 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "zam-plugins";
|
2020-10-14 10:41:53 +01:00
|
|
|
version = "3.13";
|
2015-05-04 10:29:37 +01:00
|
|
|
|
2020-10-14 10:41:53 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zamaudio";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "02blg0iqich4vx5z1ahj6avkh83yqszdiq83p9jd5qwm0i4llqjq";
|
|
|
|
fetchSubmodules = true;
|
2015-05-04 10:29:37 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-11-28 12:14:51 +00:00
|
|
|
buildInputs = [ boost libX11 libGL liblo libjack2 ladspaH lv2 rubberband libsndfile fftwFloat libsamplerate ];
|
2015-05-04 10:29:37 +01:00
|
|
|
|
2019-11-28 12:14:51 +00:00
|
|
|
postPatch = ''
|
2015-10-21 21:15:05 +01:00
|
|
|
patchShebangs ./dpf/utils/generate-ttl.sh
|
2015-05-04 10:29:37 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [
|
2021-01-24 09:19:10 +00:00
|
|
|
"PREFIX=${placeholder "out"}"
|
2015-05-04 10:29:37 +01:00
|
|
|
];
|
|
|
|
|
2019-11-28 12:14:51 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.zamaudio.com/?p=976";
|
2015-05-04 10:29:37 +01:00
|
|
|
description = "A collection of LV2/LADSPA/VST/JACK audio plugins by ZamAudio";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|