depot/third_party/nixpkgs/pkgs/development/ocaml-modules/ffmpeg/default.nix
Default email aa526eb20f Project import generated by Copybara.
GitOrigin-RevId: fcd48a5a0693f016a5c370460d0c2a8243b882dc
2022-03-10 11:12:11 -08:00

36 lines
638 B
Nix

{ lib, buildDunePackage, fetchFromGitHub, callPackage
, ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil
, ffmpeg-avcodec
, ffmpeg-avfilter
, ffmpeg-swscale
, ffmpeg-swresample
, ffmpeg-av
, ffmpeg-avdevice
}:
buildDunePackage {
pname = "ffmpeg";
minimalOCamlVersion = "4.08";
inherit (ffmpeg-base) version src useDune2;
propagatedBuildInputs = [
ffmpeg-avutil
ffmpeg-avcodec
ffmpeg-avfilter
ffmpeg-swscale
ffmpeg-swresample
ffmpeg-av
ffmpeg-avdevice
];
# The tests fail
doCheck = false;
meta = ffmpeg-base.meta // {
description = "Bindings for the ffmpeg libraries";
};
}