Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildDunePackage, 3 dune-configurator, 4 pkg-config, 5 callPackage, 6 ffmpeg-base ? callPackage ./base.nix { }, 7 ffmpeg-avutil, 8 ffmpeg, 9}: 10 11buildDunePackage { 12 pname = "ffmpeg-avcodec"; 13 14 minimalOCamlVersion = "4.08"; 15 16 inherit (ffmpeg-base) version src; 17 18 nativeBuildInputs = [ pkg-config ]; 19 buildInputs = [ dune-configurator ]; 20 propagatedBuildInputs = [ 21 ffmpeg-avutil 22 ffmpeg.dev 23 ]; 24 25 doCheck = true; 26 27 meta = ffmpeg-base.meta // { 28 description = "Bindings for the ffmpeg avcodec library"; 29 }; 30 31}