forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
obs-studio-plugins.obs-color-monitor: init 0.8.2 (NixOS#361501)
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
pkgs/applications/video/obs-studio/plugins/obs-color-monitor.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
}) |