lol

vapoursynth: fix darwin build

+7 -4
+4 -3
pkgs/development/libraries/vapoursynth/default.nix
··· 1 1 { stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, 2 - zimg, libass, yasm, python3, 2 + zimg, libass, yasm, python3, libiconv, ApplicationServices, 3 3 ocrSupport ? false, tesseract, 4 4 imwriSupport? true, imagemagick7 5 5 }: ··· 20 20 sha256 = "0nabl6949s7awy7rnr4ck52v50xr0hwr280fyzsqixgp8w369jn0"; 21 21 }; 22 22 23 + nativeBuildInputs = [ pkgconfig autoreconfHook ]; 23 24 buildInputs = [ 24 - pkgconfig autoreconfHook 25 25 zimg libass tesseract yasm 26 26 (python3.withPackages (ps: with ps; [ sphinx cython ])) 27 - ] ++ optional ocrSupport tesseract 27 + ] ++ optionals stdenv.isDarwin [ libiconv ApplicationServices ] 28 + ++ optional ocrSupport tesseract 28 29 ++ optional imwriSupport imagemagick7; 29 30 30 31 configureFlags = [
+3 -1
pkgs/top-level/all-packages.nix
··· 17807 17807 17808 17808 vapor = callPackage ../games/vapor { love = love_0_8; }; 17809 17809 17810 - vapoursynth = callPackage ../development/libraries/vapoursynth { }; 17810 + vapoursynth = callPackage ../development/libraries/vapoursynth { 17811 + inherit (darwin.apple_sdk.frameworks) ApplicationServices; 17812 + }; 17811 17813 17812 17814 vapoursynth-mvtools = callPackage ../development/libraries/vapoursynth-mvtools { }; 17813 17815