2021-02-24 23:24:51 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
2016-11-07 14:06:35 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "shelfMultiBand";
|
2016-11-07 14:06:35 +01:00
|
|
|
version = "0.6.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magnetophon";
|
|
|
|
repo = "shelfMultiBand";
|
|
|
|
rev = "V${version}";
|
|
|
|
sha256 = "1b1h4z5fs2xm7wvw11p9wnd0bxs3m88124f5phh0gwvpsdrd0im5";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
faust2jaqt -vec -double -time -t 99999 shelfMultiBand.dsp
|
|
|
|
faust2jaqt -vec -double -time -t 99999 shelfMultiBandMono.dsp
|
|
|
|
faust2lv2 -vec -double -time -gui -t 99999 shelfMultiBandMono.dsp
|
|
|
|
faust2lv2 -vec -double -time -gui -t 99999 shelfMultiBand.dsp
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp shelfMultiBand $out/bin/
|
|
|
|
cp shelfMultiBandMono $out/bin/
|
|
|
|
mkdir -p $out/lib/lv2
|
|
|
|
cp -r shelfMultiBand.lv2/ $out/lib/lv2
|
|
|
|
cp -r shelfMultiBandMono.lv2/ $out/lib/lv2
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A multiband compressor made from shelving filters.";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/magnetophon/shelfMultiBand";
|
2021-01-15 14:21:58 +01:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
2016-11-07 14:06:35 +01:00
|
|
|
};
|
|
|
|
}
|