obs-tuna: init at 1.9.6
This commit is contained in:
parent
34b396feef
commit
35881fdd9d
2 changed files with 48 additions and 0 deletions
|
@ -58,6 +58,8 @@
|
|||
|
||||
obs-transition-table = qt6Packages.callPackage ./obs-transition-table.nix { };
|
||||
|
||||
obs-tuna = qt6Packages.callPackage ./obs-tuna { };
|
||||
|
||||
obs-vaapi = callPackage ./obs-vaapi { };
|
||||
|
||||
obs-vertical-canvas = qt6Packages.callPackage ./obs-vertical-canvas.nix { };
|
||||
|
|
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, obs-studio
|
||||
, cmake
|
||||
, zlib
|
||||
, curl
|
||||
, taglib
|
||||
, dbus
|
||||
, pkg-config
|
||||
, qtbase
|
||||
, wrapQtAppsHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "obs-tuna";
|
||||
version = "1.9.6";
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
|
||||
buildInputs = [ obs-studio qtbase zlib curl taglib dbus ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "univrsal";
|
||||
repo = "tuna";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-+AgRaivvYhogX4CLGK2ylvE8tQoauC/UMvXK6W0Tvog=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
postInstall = ''
|
||||
mkdir $out/lib $out/share
|
||||
mv $out/obs-plugins/64bit $out/lib/obs-plugins
|
||||
rm -rf $out/obs-plugins
|
||||
mv $out/data $out/share/obs
|
||||
'';
|
||||
|
||||
dontWrapQtApps = true;
|
||||
|
||||
meta = {
|
||||
description = "Song information plugin for obs-studio";
|
||||
homepage = "https://github.com/univrsal/tuna";
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ shortcord ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue