diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index e8786b2f3c06..afcc1774d0dd 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -27426,6 +27426,11 @@ githubId = 3889585; name = "Cheng Shao"; }; + terrorw0lf = { + name = "duckling"; + github = "TERRORW0LF"; + githubId = 61637480; + }; terryg = { name = "Terry Garcia"; email = "terry@terryg.org"; diff --git a/pkgs/applications/video/obs-studio/plugins/default.nix b/pkgs/applications/video/obs-studio/plugins/default.nix index 1d6eb5b49f79..fed1c01e922e 100644 --- a/pkgs/applications/video/obs-studio/plugins/default.nix +++ b/pkgs/applications/video/obs-studio/plugins/default.nix @@ -108,6 +108,8 @@ obs-vnc = callPackage ./obs-vnc.nix { }; + obs-wayland-hotkeys = qt6Packages.callPackage ./obs-wayland-hotkeys { }; + obs-websocket = qt6Packages.callPackage ./obs-websocket.nix { }; # Websocket 4.x compatibility for OBS Studio 28+ pixel-art = callPackage ./pixel-art.nix { }; diff --git a/pkgs/applications/video/obs-studio/plugins/obs-wayland-hotkeys/default.nix b/pkgs/applications/video/obs-studio/plugins/obs-wayland-hotkeys/default.nix new file mode 100644 index 000000000000..d28807edc33f --- /dev/null +++ b/pkgs/applications/video/obs-studio/plugins/obs-wayland-hotkeys/default.nix @@ -0,0 +1,41 @@ +{ + stdenv, + lib, + fetchFromGitHub, + cmake, + obs-studio, + pkg-config, + qtbase, +}: + +stdenv.mkDerivation (finalAttr: { + pname = "obs-wayland-hotkeys"; + version = "1.1.0"; + + src = fetchFromGitHub { + owner = "leia-uwu"; + repo = "obs-wayland-hotkeys"; + tag = "v${finalAttr.version}"; + hash = "sha256-vOQfOEAnxn5vCaWpwDED1C107BB/d7T10kmKTXJ4k8k="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + obs-studio + qtbase + ]; + + dontWrapQtApps = true; + + meta = { + description = "OBS Studio plugin to integrate OBS hotkeys with the Wayland global shortcuts portal"; + homepage = "https://github.com/leia-uwu/obs-wayland-hotkeys"; + maintainers = with lib.maintainers; [ terrorw0lf ]; + license = lib.licenses.gpl2; + platforms = lib.platforms.linux; + }; +})