Files
nixpkgs/pkgs/applications/video/obs-studio/plugins/obs-source-record.nix
Jorge Javier Araya Navarro b792f62e04 maintainers: shackra -> elzorrorebelde
I changed the name of my GitHub account, also renamed any references
used.
2026-08-09 00:10:07 -06:00

42 lines
901 B
Nix

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