3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/audio/magnetophonDSP/LazyLimiter/default.nix

34 lines
871 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
2015-05-30 13:56:23 +01:00
stdenv.mkDerivation rec {
pname = "LazyLimiter";
version = "0.3.2";
2015-05-30 13:56:23 +01:00
src = fetchFromGitHub {
owner = "magnetophon";
repo = "LazyLimiter";
rev = "V${version}";
sha256 = "10xdydwmsnkx8hzsm74pa546yahp29wifydbc48yywv3sfj5anm7";
2015-05-30 13:56:23 +01:00
};
buildInputs = [ faust2jaqt faust2lv2 ];
2015-05-30 13:56:23 +01:00
buildPhase = ''
faust2jaqt -vec -time -t 99999 LazyLimiter.dsp
faust2lv2 -vec -time -t 99999 -gui 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 ];
};
}