mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
obs-studio-plugins.obs-scale-to-sound: init at 1.2.3
This commit is contained in:
parent
1f7283e668
commit
3923eeb462
@ -40,6 +40,8 @@
|
|||||||
|
|
||||||
obs-pipewire-audio-capture = callPackage ./obs-pipewire-audio-capture.nix { };
|
obs-pipewire-audio-capture = callPackage ./obs-pipewire-audio-capture.nix { };
|
||||||
|
|
||||||
|
obs-scale-to-sound = callPackage ./obs-scale-to-sound.nix { };
|
||||||
|
|
||||||
obs-shaderfilter = qt6Packages.callPackage ./obs-shaderfilter.nix { };
|
obs-shaderfilter = qt6Packages.callPackage ./obs-shaderfilter.nix { };
|
||||||
|
|
||||||
obs-source-clone = callPackage ./obs-source-clone.nix { };
|
obs-source-clone = callPackage ./obs-source-clone.nix { };
|
||||||
|
@ -0,0 +1,40 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, obs-studio
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "obs-scale-to-sound";
|
||||||
|
version = "1.2.3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "dimtpap";
|
||||||
|
repo = "obs-scale-to-sound";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-q/zNHPazNwmd7GHXrxNgajtOhcW+oTgH9rkIBzJpdpA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
buildInputs = [ obs-studio ];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DBUILD_OUT_OF_TREE=On"
|
||||||
|
];
|
||||||
|
|
||||||
|
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
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "OBS filter plugin that scales a source reactively to sound levels";
|
||||||
|
homepage = "https://github.com/dimtpap/obs-scale-to-sound";
|
||||||
|
maintainers = with maintainers; [ flexiondotorg ];
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user