tplay: use rustPlatform.bindgenHook

This commit is contained in:
Nick Cao 2024-04-16 20:30:10 -04:00
parent 83bdb045f6
commit 786428bb5a
No known key found for this signature in database
1 changed files with 7 additions and 3 deletions

View File

@ -29,7 +29,13 @@ rustPlatform.buildRustPackage rec {
"--skip=pipeline::runner::tests::test_time_to_send_next_frame"
];
nativeBuildInputs = [ pkg-config clang ffmpeg ];
nativeBuildInputs = [
rustPlatform.bindgenHook
pkg-config
clang
ffmpeg
];
buildInputs = [
openssl.dev
alsa-lib.dev
@ -38,8 +44,6 @@ rustPlatform.buildRustPackage rec {
opencv
];
env.LIBCLANG_PATH = "${libclang.lib}/lib";
meta = {
description = "Terminal Media Player";
homepage = "https://github.com/maxcurzi/tplay";