Skip to content

Commit

Permalink
tplay: use rustPlatform.bindgenHook
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Apr 30, 2024
1 parent 83bdb04 commit 786428b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pkgs/by-name/tp/tplay/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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";
Expand Down

0 comments on commit 786428b

Please sign in to comment.