From 80426558a514fbed858cf327c73b0a02e3527ffa Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Mon, 5 Sep 2022 12:24:37 -0300 Subject: [PATCH] obs-studio-plugins: normalize --- .../video/obs-studio/plugins/default.nix | 38 +++++++++++++------ 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/pkgs/applications/video/obs-studio/plugins/default.nix b/pkgs/applications/video/obs-studio/plugins/default.nix index 34246f13b0c5..b9be0a2b6eb1 100644 --- a/pkgs/applications/video/obs-studio/plugins/default.nix +++ b/pkgs/applications/video/obs-studio/plugins/default.nix @@ -1,18 +1,34 @@ { callPackage, libsForQt5, pkgsi686Linux }: +# When adding new plugins: +# - Respect alphabetical order. On diversion, file a PR. +# - Plugin name should reflect upstream's name. Including or excluding "obs" prefix/suffix. +# - Add plugin to it's own directory (because of future patches). + { - obs-gstreamer = callPackage ./obs-gstreamer.nix {}; - obs-move-transition = callPackage ./obs-move-transition.nix {}; - obs-multi-rtmp = libsForQt5.callPackage ./obs-multi-rtmp.nix {}; - obs-ndi = libsForQt5.callPackage ./obs-ndi.nix {}; - obs-websocket = libsForQt5.callPackage ./obs-websocket.nix {}; - wlrobs = callPackage ./wlrobs.nix {}; - looking-glass-obs = callPackage ./looking-glass-obs.nix {}; - obs-nvfbc = callPackage ./obs-nvfbc.nix {}; - obs-pipewire-audio-capture = callPackage ./obs-pipewire-audio-capture.nix {}; + looking-glass-obs = callPackage ./looking-glass-obs.nix { }; + + obs-backgroundremoval = callPackage ./obs-backgroundremoval.nix { }; + + obs-gstreamer = callPackage ./obs-gstreamer.nix { }; + + obs-hyperion = callPackage ./obs-hyperion/default.nix { }; + + obs-move-transition = callPackage ./obs-move-transition.nix { }; + + obs-multi-rtmp = libsForQt5.callPackage ./obs-multi-rtmp.nix { }; + + obs-ndi = libsForQt5.callPackage ./obs-ndi.nix { }; + + obs-nvfbc = callPackage ./obs-nvfbc.nix { }; + + obs-pipewire-audio-capture = callPackage ./obs-pipewire-audio-capture.nix { }; + obs-vkcapture = callPackage ./obs-vkcapture.nix { obs-vkcapture32 = pkgsi686Linux.obs-studio-plugins.obs-vkcapture; }; - obs-backgroundremoval = callPackage ./obs-backgroundremoval.nix {}; - obs-hyperion = callPackage ./obs-hyperion/default.nix {}; + + obs-websocket = libsForQt5.callPackage ./obs-websocket.nix { }; + + wlrobs = callPackage ./wlrobs.nix { }; }