obs-studio-plugins: inherit platforms from obs-studio.meta (#441672)

This commit is contained in:
Tristan Ross
2025-09-15 21:28:35 -07:00
committed by GitHub
37 changed files with 42 additions and 163 deletions
@@ -64,8 +64,6 @@
obs-noise = callPackage ./obs-noise.nix { };
obs-nvfbc = callPackage ./obs-nvfbc.nix { };
obs-pipewire-audio-capture = callPackage ./obs-pipewire-audio-capture.nix { };
obs-recursion-effect = callPackage ./obs-recursion-effect.nix { };
@@ -4,6 +4,7 @@
fetchFromGitHub,
cmake,
pkg-config,
ninja,
obs-studio,
libuiohook,
qtbase,
@@ -13,14 +14,14 @@
SDL2,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "obs-input-overlay";
version = "5.0.6";
src = fetchFromGitHub {
owner = "univrsal";
repo = "input-overlay";
rev = "refs/tags/${version}";
tag = finalAttrs.version;
hash = "sha256-ju4u7hhx+hTuq7Oh0DBPV8RRM8zqyyvYV74KymU0+2c=";
fetchSubmodules = true;
};
@@ -28,6 +29,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
pkg-config
ninja
];
buildInputs = [
@@ -47,7 +49,7 @@ stdenv.mkDerivation rec {
libxkbfile
];
cmakeFlags = [
cmakeFlags = lib.optionals stdenv.hostPlatform.isx86 [
"-DCMAKE_CXX_FLAGS=-msse4.1"
];
@@ -62,8 +64,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/univrsal/input-overlay";
maintainers = with lib.maintainers; [ glittershark ];
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
# never built on aarch64-linux since first introduction in nixpkgs
broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
inherit (obs-studio.meta) platforms;
};
}
})
@@ -37,6 +37,7 @@ stdenv.mkDerivation {
homepage = "https://looking-glass.io/docs/stable/obs/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ babbaj ];
# Hard coded x86_64 support
platforms = [ "x86_64-linux" ];
};
}
@@ -33,9 +33,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/exeldro/obs-3d-effect";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -46,9 +46,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/Aitum/obs-aitum-multistream";
maintainers = with lib.maintainers; [ flexiondotorg ];
license = lib.licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -58,6 +58,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/royshil/obs-backgroundremoval";
maintainers = with maintainers; [ zahrun ];
license = licenses.mit;
platforms = [ "x86_64-linux" ];
inherit (obs-studio.meta) platforms;
};
}
@@ -32,9 +32,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/norihiro/command-source";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -29,9 +29,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/exeldro/obs-dir-watch-media";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Only;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -33,9 +33,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/exeldro/obs-gradient-source";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -54,6 +54,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/hyperion-project/hyperion-obs-plugin";
license = licenses.mit;
maintainers = with maintainers; [ algram ];
platforms = [ "x86_64-linux" ];
inherit (obs-studio.meta) platforms;
};
}
@@ -43,6 +43,6 @@ rustPlatform.buildRustPackage rec {
mit
];
maintainers = [ maintainers.Bauke ];
platforms = obs-studio.meta.platforms;
inherit (obs-studio.meta) platforms;
};
}
@@ -29,9 +29,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/exeldro/obs-markdown";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Only;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -29,9 +29,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/exeldro/obs-move-transition";
maintainers = with maintainers; [ starcraft66 ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -56,9 +56,6 @@ stdenv.mkDerivation rec {
description = "Multi-site simultaneous broadcast plugin for OBS Studio";
license = lib.licenses.gpl2Only;
maintainers = with lib.maintainers; [ jk ];
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -32,9 +32,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/norihiro/obs-mute-filter";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -30,9 +30,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/FiniteSingularity/obs-noise";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Only;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -1,43 +0,0 @@
{
stdenv,
lib,
fetchFromGitLab,
meson,
ninja,
pkg-config,
obs-studio,
libGL,
libX11,
}:
stdenv.mkDerivation rec {
pname = "obs-nvfbc";
version = "0.0.7";
src = fetchFromGitLab {
owner = "fzwoch";
repo = "obs-nvfbc";
rev = "v${version}";
hash = "sha256-AJ3K0O1vrixskn+/Tpg7LsgRO8N4sgDo1Y6gg3CwGVo=";
};
nativeBuildInputs = [
meson
pkg-config
ninja
];
buildInputs = [
obs-studio
libGL
libX11
];
meta = with lib; {
description = "OBS Studio source plugin for NVIDIA FBC API";
homepage = "https://gitlab.com/fzwoch/obs-nvfbc";
license = licenses.gpl2Only;
maintainers = with maintainers; [ babbaj ];
platforms = [ "x86_64-linux" ];
broken = true;
};
}
@@ -42,9 +42,6 @@ stdenv.mkDerivation rec {
fazzi
];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -31,9 +31,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/FiniteSingularity/obs-retro-effects";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -25,9 +25,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/wimpysworld/obs-rgb-levels";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Only;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -30,9 +30,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/dimtpap/obs-scale-to-sound";
maintainers = with lib.maintainers; [ flexiondotorg ];
license = lib.licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -29,9 +29,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/andilippi/obs-scene-as-transition";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -40,9 +40,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/exeldro/obs-shaderfilter";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -36,6 +36,6 @@ stdenv.mkDerivation rec {
shackra
];
license = licenses.gpl2Only;
platforms = [ "x86_64-linux" ];
inherit (obs-studio.meta) platforms;
};
}
@@ -32,9 +32,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/exeldro/obs-source-switcher";
maintainers = with lib.maintainers; [ flexiondotorg ];
license = lib.licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -30,9 +30,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/FiniteSingularity/obs-stroke-glow-shadow";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Only;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -42,9 +42,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/norihiro/obs-text-pthread";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -35,9 +35,6 @@ stdenv.mkDerivation {
homepage = "https://github.com/exeldro/obs-transition-table";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -90,9 +90,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/locaal-ai/obs-urlsource";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Only;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -66,9 +66,6 @@ stdenv.mkDerivation rec {
pedrohlc
];
license = lib.licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -47,9 +47,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/Aitum/obs-vertical-canvas";
maintainers = with lib.maintainers; [ flexiondotorg ];
license = lib.licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -32,9 +32,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/cg2121/obs-vintage-filter";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -42,9 +42,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/obsproject/obs-websocket";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Plus;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -25,9 +25,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/dspstanky/pixel-art";
maintainers = with maintainers; [ flexiondotorg ];
license = licenses.gpl2Only;
platforms = [
"x86_64-linux"
"i686-linux"
];
inherit (obs-studio.meta) platforms;
};
}
@@ -42,6 +42,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/phandasm/waveform";
maintainers = with lib.maintainers; [ matthewcroughan ];
license = lib.licenses.gpl3;
# Hard coded x86_64 support
platforms = [ "x86_64-linux" ];
};
}
+2 -2
View File
@@ -52,9 +52,9 @@ stdenv.mkDerivation rec {
patchelf --set-rpath "${avahi}/lib:${stdenv.cc.libc}/lib" "$i"
done
rm $out/bin/libndi.so.${majorVersion}
ln -s $out/lib/libndi.so.${version} $out/bin/libndi.so.${majorVersion}
ln -s $out/lib/libndi.so $out/bin/libndi.so.${majorVersion}
# Fake ndi version 5 for compatibility with DistroAV (obs plugin using NDI)
ln -s $out/lib/libndi.so.${version} $out/bin/libndi.so.5
ln -s $out/lib/libndi.so $out/bin/libndi.so.5
mv include examples $out/
mkdir -p $out/share/doc/ndi-6
mv licenses $out/share/doc/ndi-6/licenses
+1 -1
View File
@@ -1 +1 @@
{"hash": "sha256-10pxvHLYbQ1p3NKSTC1I3YAFkPbYSCenXTEWukqy5TY=", "version": "6.2.0"}
{"hash": "sha256-C99mJkUn+L43+iLt3SuFFLmGilik2D+AoH2+tHnuFNQ=", "version": "6.2.0"}