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"
|
"--skip=pipeline::runner::tests::test_time_to_send_next_frame"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config clang ffmpeg ];
|
nativeBuildInputs = [
|
||||||
|
rustPlatform.bindgenHook
|
||||||
|
pkg-config
|
||||||
|
clang
|
||||||
|
ffmpeg
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
openssl.dev
|
openssl.dev
|
||||||
alsa-lib.dev
|
alsa-lib.dev
|
||||||
|
@ -38,8 +44,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
opencv
|
opencv
|
||||||
];
|
];
|
||||||
|
|
||||||
env.LIBCLANG_PATH = "${libclang.lib}/lib";
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Terminal Media Player";
|
description = "Terminal Media Player";
|
||||||
homepage = "https://github.com/maxcurzi/tplay";
|
homepage = "https://github.com/maxcurzi/tplay";
|
||||||
|
|
Loading…
Reference in a new issue