diff options
author | Mihai Fufezan <36706276+fufexan@users.noreply.github.com> | 2021-07-12 01:41:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-11 18:41:42 -0400 |
commit | 00ab017fec960b30abb90c4dfcd53815d38fc72a (patch) | |
tree | d74265bb191224ee831538f1fab4ccc6c070e513 /pkgs/applications/audio/easyeffects/default.nix | |
parent | 1657d1a4aae5e77a84e08c610f0a32de4b79c28a (diff) | |
download | nixpkgs-00ab017fec960b30abb90c4dfcd53815d38fc72a.tar nixpkgs-00ab017fec960b30abb90c4dfcd53815d38fc72a.tar.gz nixpkgs-00ab017fec960b30abb90c4dfcd53815d38fc72a.tar.bz2 nixpkgs-00ab017fec960b30abb90c4dfcd53815d38fc72a.tar.lz nixpkgs-00ab017fec960b30abb90c4dfcd53815d38fc72a.tar.xz nixpkgs-00ab017fec960b30abb90c4dfcd53815d38fc72a.tar.zst nixpkgs-00ab017fec960b30abb90c4dfcd53815d38fc72a.zip |
easyeffects: re-add plugins (#129968)
Diffstat (limited to 'pkgs/applications/audio/easyeffects/default.nix')
-rw-r--r-- | pkgs/applications/audio/easyeffects/default.nix | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/pkgs/applications/audio/easyeffects/default.nix b/pkgs/applications/audio/easyeffects/default.nix index 9bbbaf22f42..ee4d16d6b36 100644 --- a/pkgs/applications/audio/easyeffects/default.nix +++ b/pkgs/applications/audio/easyeffects/default.nix @@ -1,6 +1,8 @@ -{ lib, stdenv +{ lib +, stdenv , desktop-file-utils , fetchFromGitHub +, calf , fftwFloat , glib , glibmm @@ -12,6 +14,7 @@ , libsamplerate , libsndfile , lilv +, lsp-plugins , lv2 , meson , ninja @@ -23,6 +26,7 @@ , rubberband , speexdsp , wrapGAppsHook +, zam-plugins , zita-convolver }: @@ -72,6 +76,24 @@ stdenv.mkDerivation rec { patchShebangs meson_post_install.py ''; + preFixup = + let + lv2Plugins = [ + calf # limiter, compressor exciter, bass enhancer and others + lsp-plugins # delay + ]; + ladspaPlugins = [ + rubberband # pitch shifting + zam-plugins # maximizer + ]; + in + '' + gappsWrapperArgs+=( + --set LV2_PATH "${lib.makeSearchPath "lib/lv2" lv2Plugins}" + --set LADSPA_PATH "${lib.makeSearchPath "lib/ladspa" ladspaPlugins}" + ) + ''; + separateDebugInfo = true; meta = with lib; { |