diff --git a/pkgs/applications/video/obs-studio/plugins/obs-scale-to-sound.nix b/pkgs/applications/video/obs-studio/plugins/obs-scale-to-sound.nix index 3b3f9c6e8220..1c65bff9b0f1 100644 --- a/pkgs/applications/video/obs-studio/plugins/obs-scale-to-sound.nix +++ b/pkgs/applications/video/obs-studio/plugins/obs-scale-to-sound.nix @@ -8,34 +8,28 @@ stdenv.mkDerivation rec { pname = "obs-scale-to-sound"; - version = "1.2.3"; + version = "1.2.4"; src = fetchFromGitHub { owner = "dimtpap"; repo = "obs-scale-to-sound"; - rev = version; - sha256 = "sha256-q/zNHPazNwmd7GHXrxNgajtOhcW+oTgH9rkIBzJpdpA="; + tag = version; + hash = "sha256-N6OMufx4+WyLGnIZQNxwlPdlmsa+GoZhuDMS9NIbIGE="; }; 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; { + meta = { 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; + maintainers = with lib.maintainers; [ flexiondotorg ]; + license = lib.licenses.gpl2Plus; platforms = [ "x86_64-linux" "i686-linux"