depot/third_party/nixpkgs/pkgs/applications/audio/magnetophonDSP/LazyLimiter/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

37 lines
939 B
Nix

{ lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
stdenv.mkDerivation rec {
pname = "LazyLimiter";
version = "0.3.2";
src = fetchFromGitHub {
owner = "magnetophon";
repo = "LazyLimiter";
rev = "V${version}";
sha256 = "10xdydwmsnkx8hzsm74pa546yahp29wifydbc48yywv3sfj5anm7";
};
buildInputs = [ faust2jaqt faust2lv2 ];
dontWrapQtApps = true;
buildPhase = ''
faust2jaqt -vec -time -t 99999 LazyLimiter.dsp
faust2lv2 -vec -time -t 99999 -gui LazyLimiter.dsp
'';
installPhase = ''
mkdir -p $out/bin
for f in $(find . -executable -type f); do
cp $f $out/bin/
done
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 = lib.licenses.gpl2;
maintainers = [ lib.maintainers.magnetophon ];
};
}