2021-02-24 22:24:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
2015-05-30 12:56:23 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "LazyLimiter";
|
2016-11-07 13:06:35 +00:00
|
|
|
version = "0.3.2";
|
2015-05-30 12:56:23 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magnetophon";
|
|
|
|
repo = "LazyLimiter";
|
2016-11-07 13:06:35 +00:00
|
|
|
rev = "V${version}";
|
|
|
|
sha256 = "10xdydwmsnkx8hzsm74pa546yahp29wifydbc48yywv3sfj5anm7";
|
2015-05-30 12:56:23 +00:00
|
|
|
};
|
|
|
|
|
2016-11-07 13:06:35 +00:00
|
|
|
buildInputs = [ faust2jaqt faust2lv2 ];
|
2015-05-30 12:56:23 +00:00
|
|
|
|
|
|
|
buildPhase = ''
|
2016-11-07 13:06:35 +00:00
|
|
|
faust2jaqt -vec -time -t 99999 LazyLimiter.dsp
|
|
|
|
faust2lv2 -vec -time -t 99999 -gui LazyLimiter.dsp
|
2015-05-30 12:56:23 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp LazyLimiter $out/bin/
|
|
|
|
mkdir -p $out/lib/lv2
|
|
|
|
cp -r LazyLimiter.lv2/ $out/lib/lv2
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A fast yet clean lookahead limiter for jack and lv2";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://magnetophon.github.io/LazyLimiter/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
maintainers = [ lib.maintainers.magnetophon ];
|
2015-05-30 12:56:23 +00:00
|
|
|
};
|
|
|
|
}
|