File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
pkgs/by-name/rn/rnnoise-plugin Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 1313stdenv . mkDerivation rec {
1414 pname = "rnnoise-plugin" ;
1515 version = "1.10" ;
16+ outputs = [
17+ "out"
18+ "ladspa"
19+ "lv2"
20+ "lxvst"
21+ "vst3"
22+ ] ;
1623
1724 src = fetchFromGitHub {
1825 owner = "werman" ;
@@ -43,6 +50,15 @@ stdenv.mkDerivation rec {
4350 webkitgtk_4_0
4451 ] ;
4552
53+ # Move each plugin into a dedicated output, leaving a symlink in $out for backwards compatibility
54+ postInstall = ''
55+ for plugin in ladspa lv2 lxvst vst3; do
56+ mkdir -p '' ${!plugin}/lib
57+ mv $out/lib/$plugin '' ${!plugin}/lib/$plugin
58+ ln -s '' ${!plugin}/lib/$plugin $out/lib/$plugin
59+ done
60+ '' ;
61+
4662 meta = with lib ; {
4763 description = "Real-time noise suppression plugin for voice based on Xiph's RNNoise" ;
4864 homepage = "https://github.com/werman/noise-suppression-for-voice" ;
You can’t perform that action at this time.
0 commit comments