obs-studio-plugins.obs-dir-watch-media: init at 0.7.0 (#409044)

This commit is contained in:
Peder Bergebakken Sundt 2025-06-03 01:27:19 +02:00 committed by GitHub
commit f2d7e1c15f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 39 additions and 0 deletions

View file

@ -30,6 +30,8 @@
obs-composite-blur = callPackage ./obs-composite-blur.nix { };
obs-dir-watch-media = callPackage ./obs-dir-watch-media.nix { };
obs-dvd-screensaver = callPackage ./obs-dvd-screensaver.nix { };
obs-freeze-filter = qt6Packages.callPackage ./obs-freeze-filter.nix { };

View file

@ -0,0 +1,37 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
obs-studio,
}:
stdenv.mkDerivation rec {
pname = "obs-dir-watch-media";
version = "0.7.0";
src = fetchFromGitHub {
owner = "exeldro";
repo = "obs-dir-watch-media";
rev = version;
sha256 = "sha256-zvg8Bu5wlcQe91ggteEj7G9Kx+mY1R6EN64T13vp7pc=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ obs-studio ];
postInstall = ''
rm -rf $out/obs-plugins $out/data
'';
meta = with lib; {
description = "Plugin for OBS Studio adding a filter that can watch a directory for media files";
homepage = "https://github.com/exeldro/obs-dir-watch-media";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Only;
platforms = [
"x86_64-linux"
"i686-linux"
];
};
}