mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
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]: 8b48e8847a/src/utils.vala (L57)
This commit is contained in:
parent
f9edafb796
commit
c5df3a63e3
1 changed files with 3 additions and 1 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue