about summary refs log tree commit diff
path: root/pkgs/by-name/tp/tplay/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/tp/tplay/package.nix')
-rw-r--r--pkgs/by-name/tp/tplay/package.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/by-name/tp/tplay/package.nix b/pkgs/by-name/tp/tplay/package.nix
index 4258bf6960cc4..37bf1db7d198f 100644
--- a/pkgs/by-name/tp/tplay/package.nix
+++ b/pkgs/by-name/tp/tplay/package.nix
@@ -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";