nixpkgs/pkgs/development/ocaml-modules/ffmpeg/ffmpeg-av.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
654 B
Nix
Raw Normal View History

{ lib, buildDunePackage, dune-configurator, pkg-config, callPackage
, AudioToolbox
2021-10-31 04:15:16 +01:00
, ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil, ffmpeg-avcodec, ffmpeg
, stdenv
, VideoToolbox
}:
2021-10-31 04:15:16 +01:00
buildDunePackage {
pname = "ffmpeg-av";
minimalOCamlVersion = "4.08";
2023-11-15 21:48:19 +01:00
inherit (ffmpeg-base) version src;
2021-10-31 04:15:16 +01:00
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dune-configurator ] ++ lib.optionals stdenv.isDarwin [ AudioToolbox VideoToolbox ];
2021-10-31 04:15:16 +01:00
propagatedBuildInputs = [ ffmpeg-avutil ffmpeg-avcodec ffmpeg.dev ];
doCheck = true;
meta = ffmpeg-base.meta // {
description = "Bindings for the ffmpeg libraries -- top-level helpers";
};
}