From c5df3a63e3a90f8d8c13196ec5769f947149d949 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Wed, 25 Sep 2019 03:07:07 -0400 Subject: [PATCH] peek: add gifski support This is an optional feature for gif post-processing. It produces much better quality gif. Also added which to PATH with the wrapper, as it's needed to check for these types of programs [0]. [0]: https://github.com/phw/peek/blob/8b48e8847ad6e1c09fde12972b917bc975153c9c/src/utils.vala#L57 --- pkgs/applications/video/peek/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/video/peek/default.nix b/pkgs/applications/video/peek/default.nix index 973df7363a2..4872b5ec2eb 100644 --- a/pkgs/applications/video/peek/default.nix +++ b/pkgs/applications/video/peek/default.nix @@ -19,6 +19,8 @@ , python3 , libxml2 , gst_all_1 +, which +, gifski }: stdenv.mkDerivation rec { @@ -63,7 +65,7 @@ stdenv.mkDerivation rec { ''; preFixup = '' - gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ ffmpeg ]}) + gappsWrapperArgs+=(--prefix PATH : ${stdenv.lib.makeBinPath [ which ffmpeg gifski ]}) ''; meta = with stdenv.lib; {