rustdesk: migrate to bindgenHook

This commit is contained in:
Weijia Wang 2023-05-28 01:03:22 +03:00
parent 1a89cfae1f
commit e66453b831

View File

@ -20,7 +20,6 @@
, libyuv
, libopus
, libsciter
, llvmPackages
, wrapGAppsHook
, writeText
}:
@ -41,8 +40,6 @@ rustPlatform.buildRustPackage rec {
./fix-for-rust-1.65.diff
];
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
@ -98,7 +95,7 @@ rustPlatform.buildRustPackage rec {
ln -s ${libyuv.out}/lib/* $VCPKG_ROOT/installed/${vcpkg_target}/lib/
'';
nativeBuildInputs = [ pkg-config cmake makeWrapper copyDesktopItems yasm nasm clang wrapGAppsHook ];
nativeBuildInputs = [ pkg-config cmake makeWrapper copyDesktopItems yasm nasm clang wrapGAppsHook rustPlatform.bindgenHook ];
buildInputs = [ alsa-lib pulseaudio libXfixes libxcb xdotool gtk3 libvpx libopus libXtst libyuv ];
# Checks require an active X display.