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 09:29:37 +00:00
|
|
|
|
2020-10-14 09:41:53 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "zam-plugins";
|
2023-11-07 13:13:40 +00:00
|
|
|
version = "4.2";
|
2015-05-04 09:29:37 +00:00
|
|
|
|
2020-10-14 09:41:53 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zamaudio";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-11-07 13:13:40 +00:00
|
|
|
sha256 = "sha256-6TPZMDhGHqXjY8UYEqlr4hweF+W19IpIfSa9Bo9Ta1A=";
|
2020-10-14 09:41:53 +00:00
|
|
|
fetchSubmodules = true;
|
2015-05-04 09:29:37 +00: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 09:29:37 +00:00
|
|
|
|
2019-11-28 12:14:51 +00:00
|
|
|
postPatch = ''
|
2015-10-21 20:15:05 +00:00
|
|
|
patchShebangs ./dpf/utils/generate-ttl.sh
|
2015-05-04 09:29:37 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [
|
2021-01-24 09:19:10 +00:00
|
|
|
"PREFIX=${placeholder "out"}"
|
2015-05-04 09:29:37 +00:00
|
|
|
];
|
|
|
|
|
2019-11-28 12:14:51 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://www.zamaudio.com/?p=976";
|
2015-05-04 09:29:37 +00:00
|
|
|
description = "A collection of LV2/LADSPA/VST/JACK audio plugins by ZamAudio";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|