vapoursynth: use new darwin sdk pattern

This commit is contained in:
Weijia Wang 2024-11-26 13:09:04 +01:00
parent 1d5b7f4edc
commit 15fa96fd94
2 changed files with 10 additions and 21 deletions

View File

@ -12,9 +12,7 @@
zimg,
libass,
python3,
libiconv,
testers,
ApplicationServices,
}:
stdenv.mkDerivation rec {
@ -33,21 +31,16 @@ stdenv.mkDerivation rec {
autoreconfHook
makeWrapper
];
buildInputs =
[
zimg
libass
(python3.withPackages (
ps: with ps; [
sphinx
cython
]
))
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
ApplicationServices
];
buildInputs = [
zimg
libass
(python3.withPackages (
ps: with ps; [
sphinx
cython
]
))
];
enableParallelBuilding = true;
doInstallCheck = true;

View File

@ -9051,10 +9051,6 @@ with pkgs;
eigen2 = callPackage ../development/libraries/eigen/2.0.nix { };
vapoursynth = callPackage ../by-name/va/vapoursynth/package.nix {
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
};
vapoursynth-editor = libsForQt5.callPackage ../by-name/va/vapoursynth/editor.nix { };
vmmlib = callPackage ../development/libraries/vmmlib {