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

View File

@ -9051,10 +9051,6 @@ with pkgs;
eigen2 = callPackage ../development/libraries/eigen/2.0.nix { }; 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 { }; vapoursynth-editor = libsForQt5.callPackage ../by-name/va/vapoursynth/editor.nix { };
vmmlib = callPackage ../development/libraries/vmmlib { vmmlib = callPackage ../development/libraries/vmmlib {