2016-05-06 12:56:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2gui }:
|
2015-05-30 13:56:23 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "LazyLimiter-${version}";
|
|
|
|
version = "0.3.01";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magnetophon";
|
|
|
|
repo = "LazyLimiter";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1yx9d5cakmqbiwb1j9v2af9h5lqzahl3kaamnyk71cf4i8g7zp3l";
|
|
|
|
};
|
|
|
|
|
2016-05-06 12:56:40 +01:00
|
|
|
buildInputs = [ faust2jaqt faust2lv2gui ];
|
2015-05-30 13:56:23 +01:00
|
|
|
|
|
|
|
buildPhase = ''
|
2016-05-06 12:56:40 +01:00
|
|
|
faust2jaqt -t 99999 LazyLimiter.dsp
|
|
|
|
faust2lv2 -gui -t 99999 LazyLimiter.dsp
|
2015-05-30 13:56:23 +01: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";
|
|
|
|
homepage = https://magnetophon.github.io/LazyLimiter/;
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
};
|
|
|
|
}
|