2024-01-25 14:12:00 +00:00
|
|
|
{ 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
|
|
|
|
];
|
|
|
|
|
2024-02-07 01:22:34 +00:00
|
|
|
postInstall = ''
|
|
|
|
rm -rf "$out/share"
|
|
|
|
mkdir -p "$out/share/obs"
|
|
|
|
mv "$out/data/obs-plugins" "$out/share/obs"
|
|
|
|
rm -rf "$out/obs-plugins" "$out/data"
|
|
|
|
'';
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Comprehensive blur plugin for OBS that provides several different blur algorithms, and proper compositing";
|
2024-01-25 14:12:00 +00:00
|
|
|
homepage = "https://github.com/FiniteSingularity/obs-composite-blur";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ GaetanLepage ];
|
|
|
|
mainProgram = "obs-composite-blur";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|