Merge pull request #230461 from MatthewCroughan/mc/obs-waveform
obs-studio-plugins.waveform: init at 1.7.0
This commit is contained in:
commit
6490ccfdc5
2 changed files with 45 additions and 0 deletions
|
@ -73,4 +73,6 @@
|
|||
obs-websocket = qt6Packages.callPackage ./obs-websocket.nix { }; # Websocket 4.x compatibility for OBS Studio 28+
|
||||
|
||||
wlrobs = callPackage ./wlrobs.nix { };
|
||||
|
||||
waveform = callPackage ./waveform { };
|
||||
}
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, obs-studio
|
||||
, pkg-config
|
||||
, fftwFloat
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "waveform";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
fetchSubmodules = true;
|
||||
owner = "phandasm";
|
||||
repo = "waveform";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-DR3+ZBbWoGybUvDwVXLvarp+IGsTPl9Y0mFe739Ar8E=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
postFixup = ''
|
||||
mkdir $out/lib $out/share
|
||||
mv $out/${pname}/bin/64bit $out/lib/obs-plugins
|
||||
mv $out/${pname}/data $out/share/obs
|
||||
rm -rf $out/${pname}
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
obs-studio
|
||||
fftwFloat
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Audio spectral analysis plugin for OBS";
|
||||
homepage = "https://github.com/phandasm/waveform";
|
||||
maintainers = with lib.maintainers; [ matthewcroughan ];
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = ["x86_64-linux"];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue