diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-10-09 06:04:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-09 06:04:00 +0000 |
commit | efe8ad8714c0527272b29d368833048919420d2d (patch) | |
tree | 5c7b57b854fba305f899f8833f1273fed8af035a /pkgs/applications/video | |
parent | 130aa9ca683614c52029aa0a2ca75edba490b0cc (diff) | |
parent | 8ff7b290e6dd47d7ed24c6d156ba60fc3c83f100 (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/mkvtoolnix/default.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix | 13 |
2 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/video/mkvtoolnix/default.nix b/pkgs/applications/video/mkvtoolnix/default.nix index 32c1e4a9f637a..4ad3a6603deac 100644 --- a/pkgs/applications/video/mkvtoolnix/default.nix +++ b/pkgs/applications/video/mkvtoolnix/default.nix @@ -127,6 +127,7 @@ stdenv.mkDerivation rec { description = "Cross-platform tools for Matroska"; homepage = "https://mkvtoolnix.download/"; license = licenses.gpl2Only; + mainProgram = if withGUI then "mkvtoolnix-gui" else "mkvtoolnix"; maintainers = with maintainers; [ codyopel rnhmjoj ]; platforms = platforms.unix; }; diff --git a/pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix b/pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix index a1179ef7aa3af..b59f9de387141 100644 --- a/pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix +++ b/pkgs/applications/video/mpv/scripts/mpv-playlistmanager.nix @@ -1,27 +1,26 @@ -{ lib, stdenvNoCC, fetchFromGitHub, youtube-dl }: +{ lib, stdenvNoCC, fetchFromGitHub, yt-dlp }: stdenvNoCC.mkDerivation rec { pname = "mpv-playlistmanager"; - version = "unstable-2021-09-27"; + version = "unstable-2022-08-26"; src = fetchFromGitHub { owner = "jonniek"; repo = "mpv-playlistmanager"; - rev = "9a759b300c92b55e82be5824fe058e263975741a"; - sha256 = "qMzDJlouBptwyNdw2ag4VKEtmkQNUlos0USPerBAV/s="; + rev = "07393162f7f78f8188e976f616f1b89813cec741"; + sha256 = "sha256-Vgh5F6c90ijp5LVrP2cdAOXo+QtJ9aXI9G/3C2HGqd4="; }; postPatch = '' substituteInPlace playlistmanager.lua \ - --replace "'youtube-dl'" "'${youtube-dl}/bin/youtube-dl'" \ + --replace "youtube-dl" "${lib.getBin yt-dlp}/bin/yt-dlp" ''; dontBuild = true; installPhase = '' runHook preInstall - mkdir -p $out/share/mpv/scripts - cp playlistmanager.lua $out/share/mpv/scripts + install -D -t $out/share/mpv/scripts playlistmanager.lua runHook postInstall ''; |