mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
mpvScripts.acompressor: init at 0.35.1
This commit is contained in:
parent
7b198bc8e6
commit
0d8cf8b60a
27
pkgs/applications/video/mpv/scripts/acompressor.nix
Normal file
27
pkgs/applications/video/mpv/scripts/acompressor.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user