From 415cf5edadf353358d66ecd59428f1691157ad99 Mon Sep 17 00:00:00 2001 From: Alias Gram Date: Sat, 3 Sep 2022 00:52:31 +0200 Subject: [PATCH] obs-hyperion: init at 1.0.1 --- .../video/obs-studio/plugins/default.nix | 1 + .../plugins/obs-hyperion/default.nix | 24 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/applications/video/obs-studio/plugins/obs-hyperion/default.nix diff --git a/pkgs/applications/video/obs-studio/plugins/default.nix b/pkgs/applications/video/obs-studio/plugins/default.nix index a6a4ea572143..34246f13b0c5 100644 --- a/pkgs/applications/video/obs-studio/plugins/default.nix +++ b/pkgs/applications/video/obs-studio/plugins/default.nix @@ -14,4 +14,5 @@ obs-vkcapture32 = pkgsi686Linux.obs-studio-plugins.obs-vkcapture; }; obs-backgroundremoval = callPackage ./obs-backgroundremoval.nix {}; + obs-hyperion = callPackage ./obs-hyperion/default.nix {}; } diff --git a/pkgs/applications/video/obs-studio/plugins/obs-hyperion/default.nix b/pkgs/applications/video/obs-studio/plugins/obs-hyperion/default.nix new file mode 100644 index 000000000000..a35824908070 --- /dev/null +++ b/pkgs/applications/video/obs-studio/plugins/obs-hyperion/default.nix @@ -0,0 +1,24 @@ +{ stdenv, lib, fetchFromGitLab, meson, ninja, pkg-config, obs-studio, libGL +, qtbase }: + +stdenv.mkDerivation rec { + pname = "obs-hyperion"; + version = "1.0.1"; + + src = fetchFromGitLab { + owner = "hyperion-project"; + repo = "hyperion-obs-plugin"; + rev = "v${version}"; + sha256 = "sha256-Si+TGYWpNPtUUFT+M571lCYslPyeYX92MdYV2EGgcyQ="; + }; + + nativeBuildInputs = [ meson pkg-config ninja ]; + buildInputs = [ obs-studio libGL qtbase ]; + + meta = with lib; { + description = "OBS Studio plugin to connect to a Hyperion.ng server"; + license = licenses.mit; + maintainers = with maintainers; [ algram ]; + platforms = [ "x86_64-linux" ]; + }; +}