Unverified Commit 74fd95a6 authored by lunik1's avatar lunik1
Browse files

gifski: enable video support

parent 6b866a5e
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -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;