obs-studio-plugins.obs-source-record: init at 2022-11-10

Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
This commit is contained in:
Nathanael Robbins 2022-08-30 02:08:50 -04:00 committed by Franz Pletz
parent 260fb8b482
commit 73684a65aa
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
2 changed files with 36 additions and 0 deletions

View File

@ -26,6 +26,8 @@
obs-pipewire-audio-capture = callPackage ./obs-pipewire-audio-capture.nix { };
obs-source-record = callPackage ./obs-source-record.nix { };
obs-vkcapture = callPackage ./obs-vkcapture.nix {
obs-vkcapture32 = pkgsi686Linux.obs-studio-plugins.obs-vkcapture;
};

View File

@ -0,0 +1,34 @@
{ lib, stdenv, fetchFromGitHub, cmake, obs-studio }:
stdenv.mkDerivation rec {
pname = "obs-source-record";
version = "unstable-2022-11-10";
src = fetchFromGitHub {
owner = "exeldro";
repo = "obs-source-record";
rev = "4a543d3577d56a27f5f2b9aa541a466b37dafde0";
sha256 = "sha256-LoMgrWZ7r6lu2fisNvqrAiFvxWQQDE6lSxUHkMB/ZPY=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
obs-studio
];
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 ];
license = licenses.gpl2Only;
platforms = [ "x86_64-linux" ];
};
}