about summary refs log tree commit diff
path: root/pkgs/applications/video/peek
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-09-25 03:07:07 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-09-25 03:07:07 -0400
commitc5df3a63e3a90f8d8c13196ec5769f947149d949 (patch)
tree9fab9dd68151f963414de5ac0ec8287aad15b52e /pkgs/applications/video/peek
parentf9edafb796752b4457ef2f0029491a817b94430d (diff)
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
Diffstat (limited to 'pkgs/applications/video/peek')
-rw-r--r--pkgs/applications/video/peek/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/video/peek/default.nix b/pkgs/applications/video/peek/default.nix
index 973df7363a267..4872b5ec2eb6e 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; {