diff --git a/pkgs/applications/video/obs-studio/plugins/default.nix b/pkgs/applications/video/obs-studio/plugins/default.nix index 3341b0d64474..aae7a70f19bd 100644 --- a/pkgs/applications/video/obs-studio/plugins/default.nix +++ b/pkgs/applications/video/obs-studio/plugins/default.nix @@ -72,6 +72,8 @@ obs-source-switcher = callPackage ./obs-source-switcher.nix { }; + obs-stroke-glow-shadow = callPackage ./obs-stroke-glow-shadow.nix { }; + obs-teleport = callPackage ./obs-teleport { }; obs-text-pthread = callPackage ./obs-text-pthread.nix { }; diff --git a/pkgs/applications/video/obs-studio/plugins/obs-stroke-glow-shadow.nix b/pkgs/applications/video/obs-studio/plugins/obs-stroke-glow-shadow.nix new file mode 100644 index 000000000000..5865f595a38e --- /dev/null +++ b/pkgs/applications/video/obs-studio/plugins/obs-stroke-glow-shadow.nix @@ -0,0 +1,38 @@ +{ + lib, + stdenv, + fetchFromGitHub, + cmake, + obs-studio, +}: + +stdenv.mkDerivation rec { + pname = "obs-stroke-glow-shadow"; + version = "v1.5.2"; + + src = fetchFromGitHub { + owner = "FiniteSingularity"; + repo = "obs-stroke-glow-shadow"; + rev = version; + sha256 = "sha256-+2hb4u+6UG7IV9pAvPjp4wvDYhYnxe98U5QQjUcdD/k="; + }; + + nativeBuildInputs = [ cmake ]; + buildInputs = [ obs-studio ]; + + postFixup = '' + rm -rf $out/obs-plugins + rm -rf $out/data + ''; + + meta = with lib; { + description = "An OBS plugin to provide efficient Stroke, Glow, and Shadow effects on masked sources."; + homepage = "https://github.com/FiniteSingularity/obs-stroke-glow-shadow"; + maintainers = with maintainers; [ flexiondotorg ]; + license = licenses.gpl2Only; + platforms = [ + "x86_64-linux" + "i686-linux" + ]; + }; +}