nixpkgs-suyu/pkgs/development/ocaml-modules/ffmpeg/default.nix
2023-02-28 23:19:45 +00:00

36 lines
641 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 duneVersion;
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";
};
}