nixpkgs/pkgs/development/libraries/ffmpeg/4.nix

18 lines
558 B
Nix
Raw Normal View History

2018-05-10 07:44:40 -07:00
{ stdenv, callPackage, fetchpatch
# Darwin frameworks
, Cocoa, CoreMedia, VideoToolbox
2018-05-10 07:44:40 -07:00
, ...
}@args:
callPackage ./generic.nix (args // rec {
version = "${branch}";
branch = "4.1.4";
sha256 = "01w44ygm5bvc243hlhfnvb2lxfb0blz2cxnphxqgw30vj3c1prx7";
patches = [(fetchpatch { # remove on update
name = "fix-hardcoded-tables.diff";
url = "http://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff_plain/c8232e50074f";
sha256 = "0jlksks4fjajby8fjk7rfp414gxfdgd6q9khq26i52xvf4kg2dw6";
})];
darwinFrameworks = [ Cocoa CoreMedia VideoToolbox ];
2018-05-10 07:44:40 -07:00
})