diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2023-04-09 22:44:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-09 22:44:30 +0200 |
commit | 3577487514a46356d0c0c78d3269ce8bc32e3626 (patch) | |
tree | 84e25dea4f64c88cad526f12567ea7ff7a15eaa9 /pkgs/applications/video | |
parent | 3fe93b5c4a2e04a6418b58ee524ff15c8357576f (diff) | |
parent | 0d8cf8b60a6bba3196c80911d9096df076b1facb (diff) |
Merge pull request #219348 from nbraud/mpvScript/acompressor
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/mpv/scripts/acompressor.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/video/mpv/scripts/acompressor.nix b/pkgs/applications/video/mpv/scripts/acompressor.nix new file mode 100644 index 0000000000000..d10ef5f9df755 --- /dev/null +++ b/pkgs/applications/video/mpv/scripts/acompressor.nix @@ -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 ]; + }; +} |