2021-04-10 09:30:54 +01:00
|
|
|
{ callPackage
|
2018-05-10 15:44:40 +01:00
|
|
|
# Darwin frameworks
|
2019-04-11 06:09:45 +01:00
|
|
|
, Cocoa, CoreMedia, VideoToolbox
|
2021-05-16 08:31:27 +01:00
|
|
|
, stdenv, lib
|
2018-05-10 15:44:40 +01:00
|
|
|
, ...
|
|
|
|
}@args:
|
|
|
|
|
2019-10-28 19:57:08 +00:00
|
|
|
callPackage ./generic.nix (rec {
|
2021-04-10 09:30:54 +01:00
|
|
|
version = "4.4";
|
|
|
|
branch = "4.4";
|
|
|
|
sha256 = "03kxc29y8190k4y8s8qdpsghlbpmchv1m8iqygq2qn0vfm4ka2a2";
|
2019-04-11 06:09:45 +01:00
|
|
|
darwinFrameworks = [ Cocoa CoreMedia VideoToolbox ];
|
2021-05-15 23:05:03 +01:00
|
|
|
|
|
|
|
/* Work around https://trac.ffmpeg.org/ticket/9242 */
|
2021-05-16 08:31:27 +01:00
|
|
|
patches = lib.optional stdenv.isDarwin
|
|
|
|
./v2-0001-avcodec-videotoolboxenc-define-TARGET_CPU_ARM64-t.patch;
|
2019-10-28 19:57:08 +00:00
|
|
|
} // args)
|