obs-hyperion: init at 1.0.1

This commit is contained in:
Alias Gram 2022-09-03 00:52:31 +02:00
parent b0e9b6d301
commit 415cf5edad
2 changed files with 25 additions and 0 deletions

View File

@ -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 {};
}

View File

@ -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" ];
};
}