pipe-viewer: 0.3.0 -> 0.4.8
This commit is contained in:
parent
b347b6be6a
commit
a2f22ececf
|
@ -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 ]}"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user