mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 11:13:30 +00:00
28 lines
670 B
Nix
28 lines
670 B
Nix
{ 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 ];
|
|
};
|
|
}
|