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";
|
2021-10-30 02:57:42 +01:00
|
|
|
version = "3.14";
|
2015-05-04 10:29:37 +01:00
|
|
|
|
2020-10-14 10:41:53 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zamaudio";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-10-30 02:57:42 +01:00
|
|
|
sha256 = "sha256-zlANfFuEXQdXlSu4CuXNyChiuV7wkumaOJqgthl6Y9Q=";
|
2020-10-14 10:41:53 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|