mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
37 lines
638 B
Nix
37 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";
|
|
};
|
|
|
|
}
|