Skip to content

Commit

Permalink
obs-studio-plugins.obs-color-monitor: init 0.8.2 (NixOS#361501)
Browse files Browse the repository at this point in the history
  • Loading branch information
misuzu authored Jan 3, 2025
2 parents 51ad908 + f831baf commit 286fbc2
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
7 changes: 7 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9229,6 +9229,13 @@
githubId = 287215;
keys = [ { fingerprint = "D618 7A03 A40A 3D56 62F5 4B46 03EF BF83 9A5F DC15"; } ];
};
hlad = {
email = "[email protected]";
name = "Marek Hladky";
matrix = "@hlad:hlad.org";
github = "hlad";
githubId = 6285728;
};
hleboulanger = {
email = "[email protected]";
name = "Harold Leboulanger";
Expand Down
2 changes: 2 additions & 0 deletions pkgs/applications/video/obs-studio/plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

obs-backgroundremoval = callPackage ./obs-backgroundremoval { };

obs-color-monitor = qt6Packages.callPackage ./obs-color-monitor.nix { };

obs-command-source = callPackage ./obs-command-source.nix { };

obs-composite-blur = callPackage ./obs-composite-blur.nix { };
Expand Down
43 changes: 43 additions & 0 deletions pkgs/applications/video/obs-studio/plugins/obs-color-monitor.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
obs-studio,
qtbase,
}:

stdenv.mkDerivation (finalAttrs: {
pname = "obs-color-monitor";
version = "0.8.2";

src = fetchFromGitHub {
owner = "norihiro";
repo = "obs-color-monitor";
tag = finalAttrs.version;
hash = "sha256-cVMpmkcw8GzNGyd80g1oKmyiEYGMcRtWtDj9MC7RYf8=";
};

nativeBuildInputs = [ cmake ];
buildInputs = [
obs-studio
qtbase
];

postInstall = ''
mkdir $out/lib $out/share
mv $out/obs-plugins/64bit $out/lib/obs-plugins
mv $out/data $out/share/obs
rm -rf $out/obs-plugins
'';

dontWrapQtApps = true;

meta = {
description = "Color Monitor plugin for OBS Studio";
homepage = "https://github.com/norihiro/obs-color-monitor";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ hlad ];
};
})

0 comments on commit 286fbc2

Please sign in to comment.