tplay: use rustPlatform.bindgenHook
This commit is contained in:
parent
83bdb045f6
commit
786428bb5a
1 changed files with 7 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue