mpvScripts.acompressor: init at 0.35.1

This commit is contained in:
nicoo 2023-03-03 12:07:23 +00:00
parent 7b198bc8e6
commit 0d8cf8b60a
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ stdenvNoCC
, mpv-unwrapped
, lib
}:
stdenvNoCC.mkDerivation rec {
pname = "mpv-acompressor";
version = mpv-unwrapped.version;
src = "${mpv-unwrapped.src.outPath}/TOOLS/lua/acompressor.lua";
dontBuild = true;
dontUnpack = true;
installPhase = ''
install -Dm644 ${src} $out/share/mpv/scripts/acompressor.lua
'';
passthru.scriptName = "acompressor.lua";
meta = with lib; {
description = "Script to toggle and control ffmpeg's dynamic range compression filter.";
homepage = "https://github.com/mpv-player/mpv/blob/master/TOOLS/lua/acompressor.lua";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ nicoo ];
};
}

View File

@ -31846,6 +31846,7 @@ with pkgs;
mpvpaper = callPackage ../tools/wayland/mpvpaper { };
mpvScripts = recurseIntoAttrs {
acompressor = callPackage ../applications/video/mpv/scripts/acompressor.nix {};
autoload = callPackage ../applications/video/mpv/scripts/autoload.nix { };
convert = callPackage ../applications/video/mpv/scripts/convert.nix { };
inhibit-gnome = callPackage ../applications/video/mpv/scripts/inhibit-gnome.nix { };