diff options
author | Christoph Neidahl <christoph.neidahl@gmail.com> | 2019-01-10 22:58:20 +0100 |
---|---|---|
committer | Christoph Neidahl <christoph.neidahl@gmail.com> | 2019-01-10 22:58:20 +0100 |
commit | 26f7df6b6a0e4dfd2f13036d598aece17f760e6b (patch) | |
tree | 240e3afa50af44e2a308ad2626feebf80512ba24 /pkgs/applications/video | |
parent | 0d028c3beecc3a0696835cee5cb6c9784ffd18b7 (diff) |
obs-studio: add new optional dependencies
This commit adds a new set of optional dependencies introduced with version 21.0 of OBS to allow Lua and Python 3 scripts to be run. If this batch of new dependencies is not desired by the user, then they may set `scriptingSupport` to false to disable it.
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/obs-studio/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/video/obs-studio/default.nix b/pkgs/applications/video/obs-studio/default.nix index c98acda9eea06..579d5566f134e 100644 --- a/pkgs/applications/video/obs-studio/default.nix +++ b/pkgs/applications/video/obs-studio/default.nix @@ -21,6 +21,11 @@ , vlc , mbedtls +, scriptingSupport ? true +, luajit +, swig +, python3 + , alsaSupport ? false , alsaLib , pulseaudioSupport ? false @@ -68,6 +73,7 @@ in stdenv.mkDerivation rec { makeWrapper mbedtls ] + ++ optional scriptingSupport [ luajit swig python3 ] ++ optional alsaSupport alsaLib ++ optional pulseaudioSupport libpulseaudio; |