diff options
author | R. Ryantm <ryantm-bot@ryantm.com> | 2023-08-06 06:35:01 +0000 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-01-05 16:51:01 +0100 |
commit | a2f22ececf5875e682c72b837804ef9648823d89 (patch) | |
tree | f8f0d374ee80015e0ac5f3796d4952d0e6594b21 /pkgs/applications/video/pipe-viewer | |
parent | b347b6be6a847f159b0b17f4584d22011f21a790 (diff) | |
download | nixlib-a2f22ececf5875e682c72b837804ef9648823d89.tar nixlib-a2f22ececf5875e682c72b837804ef9648823d89.tar.gz nixlib-a2f22ececf5875e682c72b837804ef9648823d89.tar.bz2 nixlib-a2f22ececf5875e682c72b837804ef9648823d89.tar.lz nixlib-a2f22ececf5875e682c72b837804ef9648823d89.tar.xz nixlib-a2f22ececf5875e682c72b837804ef9648823d89.tar.zst nixlib-a2f22ececf5875e682c72b837804ef9648823d89.zip |
pipe-viewer: 0.3.0 -> 0.4.8
Diffstat (limited to 'pkgs/applications/video/pipe-viewer')
-rw-r--r-- | pkgs/applications/video/pipe-viewer/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/applications/video/pipe-viewer/default.nix b/pkgs/applications/video/pipe-viewer/default.nix index 68c47df58da6..adf5fcb50487 100644 --- a/pkgs/applications/video/pipe-viewer/default.nix +++ b/pkgs/applications/video/pipe-viewer/default.nix @@ -6,6 +6,7 @@ , wrapGAppsHook , withGtk3 ? false , ffmpeg +, mpv , wget , xdg-utils , youtube-dl @@ -37,13 +38,13 @@ let in buildPerlModule rec { pname = "pipe-viewer"; - version = "0.3.0"; + version = "0.4.8"; src = fetchFromGitHub { owner = "trizen"; repo = "pipe-viewer"; rev = version; - hash = "sha256-2Kzo7NYxARPFuOijwf2a3WQxnNumtKRiRhMhjrWA4GY="; + hash = "sha256-bFbriqpy+Jjwv/s4PZmLdL3hFtM8gfIn+yJjk3fCsnQ="; }; nativeBuildInputs = [ makeWrapper ] @@ -74,11 +75,11 @@ buildPerlModule rec { postFixup = '' wrapProgram "$out/bin/pipe-viewer" \ - --prefix PATH : "${lib.makeBinPath [ ffmpeg wget youtube-dl yt-dlp ]}" + --prefix PATH : "${lib.makeBinPath [ ffmpeg mpv wget youtube-dl yt-dlp ]}" '' + lib.optionalString withGtk3 '' # make xdg-open overrideable at runtime wrapProgram "$out/bin/gtk-pipe-viewer" ''${gappsWrapperArgs[@]} \ - --prefix PATH : "${lib.makeBinPath [ ffmpeg wget youtube-dl yt-dlp ]}" \ + --prefix PATH : "${lib.makeBinPath [ ffmpeg mpv wget youtube-dl yt-dlp ]}" \ --suffix PATH : "${lib.makeBinPath [ xdg-utils ]}" ''; |