2016-05-06 12:56:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2gui }:
|
2015-05-30 21:17:03 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "constant-detune-chorus-${version}";
|
2016-05-06 12:56:40 +01:00
|
|
|
version = "0.1.2";
|
2015-05-30 21:17:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magnetophon";
|
|
|
|
repo = "constant-detune-chorus";
|
|
|
|
rev = "v${version}";
|
2016-05-06 12:56:40 +01:00
|
|
|
sha256 = "1ks2k6pflqyi2cs26bnbypphyrrgn0xf31l31kgx1qlilyc57vln";
|
2015-05-30 21:17:03 +01:00
|
|
|
};
|
|
|
|
|
2016-05-06 12:56:40 +01:00
|
|
|
buildInputs = [ faust2jaqt faust2lv2gui ];
|
2015-05-30 21:17:03 +01:00
|
|
|
|
|
|
|
buildPhase = ''
|
2016-05-06 12:56:40 +01:00
|
|
|
faust2jaqt -t 99999 ConstantDetuneChorus.dsp
|
|
|
|
faust2lv2 -gui -t 99999 ConstantDetuneChorus.dsp
|
2015-05-30 21:17:03 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
2016-05-06 12:56:40 +01:00
|
|
|
cp ConstantDetuneChorus $out/bin/
|
2015-05-30 21:17:03 +01:00
|
|
|
mkdir -p $out/lib/lv2
|
2016-05-06 12:56:40 +01:00
|
|
|
cp -r ConstantDetuneChorus.lv2/ $out/lib/lv2
|
2015-05-30 21:17:03 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A chorus algorithm that maintains constant and symmetric detuning depth (in cents), regardless of modulation rate. For jack and lv2";
|
|
|
|
homepage = https://github.com/magnetophon/constant-detune-chorus;
|
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
};
|
|
|
|
}
|