Unverified Commit 35774875 authored by Maciej Krüger's avatar Maciej Krüger Committed by GitHub
Browse files

Merge pull request #219348 from nbraud/mpvScript/acompressor

parents 3fe93b5c 0d8cf8b6
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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 { };