Skip to content

Commit

Permalink
feat: add retro effects 0.0.2a
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Feb 5, 2024
1 parent d07169f commit e61a831
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/obs-studio/plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@

obs-replay-source = qt6Packages.callPackage ./obs-replay-source.nix { };

obs-retro-effects = callPackage ./obs-retro-effects.nix { };

obs-rgb-levels = callPackage ./obs-rgb-levels.nix { };

obs-scale-to-sound = callPackage ./obs-scale-to-sound.nix { };
Expand Down
35 changes: 35 additions & 0 deletions pkgs/obs-studio/plugins/obs-retro-effects.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, obs-studio
}:

stdenv.mkDerivation rec {
pname = "obs-retro-effects";
version = "0.0.2a";

src = fetchFromGitHub {
owner = "FiniteSingularity";
repo = "obs-retro-effects";
rev = "${version}";
sha256 = "sha256-EPzfCKL4JQiRaHyJJw0HNqfhHiYd/v2705R+j5H/Oow=";
};

nativeBuildInputs = [ cmake ];
buildInputs = [ obs-studio ];

postFixup = ''
mv $out/data/obs-plugins/${pname}/shaders $out/share/obs/obs-plugins/${pname}/
rm -rf $out/obs-plugins
rm -rf $out/data
'';

meta = with lib; {
description = "A collection of OBS filters to give your stream that retro feel.";
homepage = "https://github.com/FiniteSingularity/obs-retro-effects";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [ "x86_64-linux" "i686-linux" ];
};
}

0 comments on commit e61a831

Please sign in to comment.