tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
obs-studio-plugins.obs-command-source: init at 0.4.0
Martin Wimpress
2 years ago
2a09cfbf
79ff5b7f
+38
2 changed files
expand all
collapse all
unified
split
pkgs
applications
video
obs-studio
plugins
default.nix
obs-command-source.nix
+2
pkgs/applications/video/obs-studio/plugins/default.nix
···
16
17
obs-backgroundremoval = callPackage ./obs-backgroundremoval { };
18
0
0
19
obs-gstreamer = callPackage ./obs-gstreamer.nix { };
20
21
obs-hyperion = qt6Packages.callPackage ./obs-hyperion/default.nix { };
···
16
17
obs-backgroundremoval = callPackage ./obs-backgroundremoval { };
18
19
+
obs-command-source = callPackage ./obs-command-source.nix { };
20
+
21
obs-gstreamer = callPackage ./obs-gstreamer.nix { };
22
23
obs-hyperion = qt6Packages.callPackage ./obs-hyperion/default.nix { };
+36
pkgs/applications/video/obs-studio/plugins/obs-command-source.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib
2
+
, stdenv
3
+
, fetchFromGitHub
4
+
, cmake
5
+
, obs-studio
6
+
}:
7
+
8
+
stdenv.mkDerivation rec {
9
+
pname = "obs-command-source";
10
+
version = "0.4.0";
11
+
12
+
src = fetchFromGitHub {
13
+
owner = "norihiro";
14
+
repo = "obs-command-source";
15
+
rev = version;
16
+
sha256 = "sha256-rBGMQb7iGtxF54bBOK5lHI6VFYCSEyeSq2Arz0T0DPo=";
17
+
};
18
+
19
+
nativeBuildInputs = [ cmake ];
20
+
buildInputs = [ obs-studio ];
21
+
22
+
postInstall = ''
23
+
mkdir $out/lib $out/share
24
+
mv $out/obs-plugins/64bit $out/lib/obs-plugins
25
+
rm -rf $out/obs-plugins
26
+
mv $out/data $out/share/obs
27
+
'';
28
+
29
+
meta = with lib; {
30
+
description = "OBS Studio plugin that provides a dummy source to execute arbitrary commands when a scene is switched.";
31
+
homepage = "https://github.com/norihiro/command-source";
32
+
maintainers = with maintainers; [ flexiondotorg ];
33
+
license = licenses.gpl2Plus;
34
+
platforms = [ "x86_64-linux" "i686-linux" ];
35
+
};
36
+
}