Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
883 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
cmake,
obs-studio,
}:
stdenv.mkDerivation rec {
pname = "obs-source-record";
version = "0.4.6";
src = fetchFromGitHub {
owner = "exeldro";
repo = "obs-source-record";
rev = version;
sha256 = "sha256-mlPLZ9n0F4K1tRx9xPuNMGzupRGLmyVsqKS12A4X5vw=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ obs-studio ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ];
cmakeFlags = [ "-DBUILD_OUT_OF_TREE=On" ];
postInstall = ''
rm -rf $out/{data,obs-plugins}
'';
meta = with lib; {
description = "OBS Studio plugin to make sources available to record via a filter";
homepage = "https://github.com/exeldro/obs-source-record";
maintainers = with maintainers; [
robbins
shackra
];
license = licenses.gpl2Only;
inherit (obs-studio.meta) platforms;
};
}