influxdb2: migrate to bindgenHook

This commit is contained in:
Weijia Wang 2023-05-27 20:05:57 +03:00
parent 26d5c72cac
commit 2e290f5676

View File

@ -1,10 +1,8 @@
{ buildGoModule
, fetchFromGitHub
, fetchurl
, fetchpatch
, go-bindata
, lib
, llvmPackages
, perl
, pkg-config
, rustPlatform
@ -43,9 +41,8 @@ let
};
sourceRoot = "source/libflux";
cargoSha256 = "sha256-9rPW0lgi3lXJARa1KXgSY8LVJsoFjppok5ODGlqYeYw=";
nativeBuildInputs = [ llvmPackages.libclang ];
nativeBuildInputs = [ rustPlatform.bindgenHook ];
buildInputs = lib.optional stdenv.isDarwin libiconv;
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
pkgcfg = ''
Name: flux
Version: ${libflux_version}