Merge pull request #189521 from Algram/feat/hyperion-obs-init

This commit is contained in:
Sandro 2022-09-04 15:12:34 +02:00 committed by GitHub
commit 295608e194
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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" ];
};
}