Merge pull request #219348 from nbraud/mpvScript/acompressor
This commit is contained in:
commit
3577487514
3 changed files with 37 additions and 0 deletions
|
@ -10930,6 +10930,15 @@
|
|||
githubId = 8214542;
|
||||
name = "Nicolò Balzarotti";
|
||||
};
|
||||
nicoo = {
|
||||
email = "nicoo@debian.org";
|
||||
github = "nbraud";
|
||||
githubId = 1155801;
|
||||
name = "nicoo";
|
||||
keys = [{
|
||||
fingerprint = "E44E 9EA5 4B8E 256A FB73 49D3 EC9D 3708 72BC 7A8C";
|
||||
}];
|
||||
};
|
||||
nidabdella = {
|
||||
name = "Mohamed Nidabdella";
|
||||
email = "nidabdella.mohamed@gmail.com";
|
||||
|
|
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 ];
|
||||
};
|
||||
}
|
|
@ -32192,6 +32192,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 a new issue