about summary refs log tree commit diff
path: root/pkgs/tools/graphics/gifski/default.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-06-21 00:13:19 +0000
committerGitHub <noreply@github.com>2023-06-21 00:13:19 +0000
commit260df62919ffc7c09044edb519f3beaa491cda0e (patch)
tree0b2b34c12219860fd7d15b9cfeaf0d5148ffa9b5 /pkgs/tools/graphics/gifski/default.nix
parent3780de2d515bae803de26545cf5891c211a9846b (diff)
parent2de5e6838cd1480b9f1eae11c1c65ca2f32ae40c (diff)
Merge master into haskell-updates
Diffstat (limited to 'pkgs/tools/graphics/gifski/default.nix')
-rw-r--r--pkgs/tools/graphics/gifski/default.nix12
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/gifski/default.nix b/pkgs/tools/graphics/gifski/default.nix
index 1aa2eea10ab70..60a77af920ea8 100644
--- a/pkgs/tools/graphics/gifski/default.nix
+++ b/pkgs/tools/graphics/gifski/default.nix
@@ -3,6 +3,7 @@
 , fetchFromGitHub
 , stdenv
 , pkg-config
+, ffmpeg
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -23,7 +24,16 @@ rustPlatform.buildRustPackage rec {
     };
   };
 
-  nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ];
+  nativeBuildInputs = [
+    pkg-config
+    rustPlatform.bindgenHook
+  ];
+
+  buildInputs = [
+    ffmpeg
+  ];
+
+  buildFeatures = [ "video" ];
 
   # error: the crate `gifski` is compiled with the panic strategy `abort` which is incompatible with this crate's strategy of `unwind`
   doCheck = !stdenv.isDarwin;