2016-11-07 13:06:35 +00:00
|
|
|
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
2015-05-30 16:44:33 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "MBdistortion";
|
2016-11-07 13:06:35 +00:00
|
|
|
version = "1.1.1";
|
2015-05-30 16:44:33 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magnetophon";
|
|
|
|
repo = "MBdistortion";
|
2016-11-07 13:06:35 +00:00
|
|
|
rev = "V${version}";
|
|
|
|
sha256 = "0mdzaqmxzgspfgx9w1hdip18y17hwpdcgjyq1rrfm843vkascwip";
|
2015-05-30 16:44:33 +01:00
|
|
|
};
|
|
|
|
|
2016-11-07 13:06:35 +00:00
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
2015-05-30 16:44:33 +01:00
|
|
|
|
|
|
|
buildPhase = ''
|
2016-11-07 13:06:35 +00:00
|
|
|
faust2jaqt -time -vec -t 99999 MBdistortion.dsp
|
|
|
|
faust2lv2 -time -vec -gui -t 99999 MBdistortion.dsp
|
2015-05-30 16:44:33 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp MBdistortion $out/bin/
|
|
|
|
mkdir -p $out/lib/lv2
|
|
|
|
cp -r MBdistortion.lv2/ $out/lib/lv2
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Mid-side multiband distortion for jack and lv2";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/magnetophon/MBdistortion";
|
2015-05-30 16:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
};
|
|
|
|
}
|