2015-10-21 21:15:05 +01:00
|
|
|
{ stdenv, fetchgit , boost, libX11, mesa, liblo, libjack2, ladspaH, lv2, pkgconfig, rubberband, libsndfile }:
|
2015-05-04 10:29:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "zam-plugins-${version}";
|
2015-10-21 21:15:05 +01:00
|
|
|
version = "3.6";
|
2015-05-04 10:29:37 +01:00
|
|
|
|
2015-10-21 21:15:05 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/zamaudio/zam-plugins.git";
|
|
|
|
deepClone = true;
|
|
|
|
rev = "91fe56931a3e57b80f18c740d2dde6b44f962aee";
|
|
|
|
sha256 = "17slpywjs04xbcylyqjg6kqbpqwqbigf843y437yfvj1ar6ir1jp";
|
2015-05-04 10:29:37 +01:00
|
|
|
};
|
|
|
|
|
2015-06-27 08:17:52 +01:00
|
|
|
buildInputs = [ boost libX11 mesa liblo libjack2 ladspaH lv2 pkgconfig rubberband libsndfile ];
|
2015-05-04 10:29:37 +01:00
|
|
|
|
|
|
|
patchPhase = ''
|
2015-10-21 21:15:05 +01:00
|
|
|
patchShebangs ./dpf/utils/generate-ttl.sh
|
|
|
|
substituteInPlace Makefile --replace "ZaMaximX2" "ZaMaximX2 ZamPiano ZamChild670"
|
2015-05-04 10:29:37 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"PREFIX=$(out)"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.zamaudio.com/?p=976;
|
|
|
|
description = "A collection of LV2/LADSPA/VST/JACK audio plugins by ZamAudio";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|