From 55fea4ee8a32441587dd716f3c962ed1850aaad1 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 10 Aug 2024 16:35:58 -0400 Subject: [PATCH] mpvScripts: remove trailing period from meta.description Note that long-term we should automate this since there have been a lot of unintentional additions since https://github.com/NixOS/nixpkgs/pull/317959 --- pkgs/applications/video/mpv/scripts/dynamic-crop.nix | 2 +- pkgs/applications/video/mpv/scripts/mpv.nix | 6 +++--- pkgs/applications/video/mpv/scripts/occivink.nix | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/video/mpv/scripts/dynamic-crop.nix b/pkgs/applications/video/mpv/scripts/dynamic-crop.nix index 541c83d5258f..ea39f33ba418 100644 --- a/pkgs/applications/video/mpv/scripts/dynamic-crop.nix +++ b/pkgs/applications/video/mpv/scripts/dynamic-crop.nix @@ -19,7 +19,7 @@ buildLua { passthru.updateScript = unstableGitUpdater { }; meta = { - description = ''Script to "cropping" dynamically, hard-coded black bars detected with lavfi-cropdetect filter for Ultra Wide Screen or any screen (Smartphone/Tablet).''; + description = ''Script to "cropping" dynamically, hard-coded black bars detected with lavfi-cropdetect filter for Ultra Wide Screen or any screen (Smartphone/Tablet)''; homepage = "https://github.com/Ashyni/mpv-scripts"; license = lib.licenses.mit; maintainers = [ lib.maintainers.iynaix ]; diff --git a/pkgs/applications/video/mpv/scripts/mpv.nix b/pkgs/applications/video/mpv/scripts/mpv.nix index ddf22e5dd03c..a81ac77686d5 100644 --- a/pkgs/applications/video/mpv/scripts/mpv.nix +++ b/pkgs/applications/video/mpv/scripts/mpv.nix @@ -27,13 +27,13 @@ let in lib.mapAttrs (name: lib.makeOverridable (mkBuiltin name)) { acompressor.meta = { - description = "Script to toggle and control ffmpeg's dynamic range compression filter."; + description = "Script to toggle and control ffmpeg's dynamic range compression filter"; maintainers = with lib.maintainers; [ nicoo ]; }; - autocrop.meta.description = "This script uses the lavfi cropdetect filter to automatically insert a crop filter with appropriate parameters for the currently playing video."; + autocrop.meta.description = "This script uses the lavfi cropdetect filter to automatically insert a crop filter with appropriate parameters for the currently playing video"; - autodeint.meta.description = "This script uses the lavfi idet filter to automatically insert the appropriate deinterlacing filter based on a short section of the currently playing video."; + autodeint.meta.description = "This script uses the lavfi idet filter to automatically insert the appropriate deinterlacing filter based on a short section of the currently playing video"; autoload.meta = { description = "This script automatically loads playlist entries before and after the currently played file"; diff --git a/pkgs/applications/video/mpv/scripts/occivink.nix b/pkgs/applications/video/mpv/scripts/occivink.nix index b475c5d57570..f9fe912a612f 100644 --- a/pkgs/applications/video/mpv/scripts/occivink.nix +++ b/pkgs/applications/video/mpv/scripts/occivink.nix @@ -45,12 +45,12 @@ in lib.mapAttrs (name: lib.makeOverridable (mkScript name)) { # Usage: `pkgs.mpv.override { scripts = [ pkgs.mpvScripts.seekTo ]; }` - crop.meta.description = "Crop the current video in a visual manner."; + crop.meta.description = "Crop the current video in a visual manner"; seekTo.meta.description = "Mpv script for seeking to a specific position"; - blacklistExtensions.meta.description = "Automatically remove playlist entries based on their extension."; + blacklistExtensions.meta.description = "Automatically remove playlist entries based on their extension"; encode = { - meta.description = "Make an extract of the video currently playing using ffmpeg."; + meta.description = "Make an extract of the video currently playing using ffmpeg"; postPatch = '' substituteInPlace scripts/encode.lua \