Merge pull request #282628 from GaetanLepage/obs-composite-blur

This commit is contained in:
Franz Pletz 2024-01-22 10:59:05 +01:00 committed by GitHub
commit 5af9ce3fd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 37 additions and 0 deletions

View File

@ -20,6 +20,8 @@
obs-command-source = callPackage ./obs-command-source.nix { }; obs-command-source = callPackage ./obs-command-source.nix { };
obs-composite-blur = callPackage ./obs-composite-blur.nix { };
obs-freeze-filter = qt6Packages.callPackage ./obs-freeze-filter.nix { }; obs-freeze-filter = qt6Packages.callPackage ./obs-freeze-filter.nix { };
obs-gradient-source = callPackage ./obs-gradient-source.nix { }; obs-gradient-source = callPackage ./obs-gradient-source.nix { };

View File

@ -0,0 +1,35 @@
{ lib
, stdenv
, fetchFromGitHub
, obs-studio
, cmake
}:
stdenv.mkDerivation rec {
pname = "obs-composite-blur";
version = "1.1.0";
src = fetchFromGitHub {
owner = "FiniteSingularity";
repo = "obs-composite-blur";
rev = "refs/tags/v${version}";
hash = "sha256-icn0X+c7Uf0nTFaVDVTPi26sfWTSeoAj7+guEn9gi9Y=";
};
buildInputs = [
obs-studio
];
nativeBuildInputs = [
cmake
];
meta = with lib; {
description = "A comprehensive blur plugin for OBS that provides several different blur algorithms, and proper compositing";
homepage = "https://github.com/FiniteSingularity/obs-composite-blur";
license = licenses.gpl2Only;
maintainers = with maintainers; [ GaetanLepage ];
mainProgram = "obs-composite-blur";
platforms = platforms.linux;
};
}