amazon-qldb-shell: migrate to bindgenHook
This commit is contained in:
parent
c9bcecf0ab
commit
2cad500d79
|
@ -1,9 +1,7 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, clang
|
|
||||||
, cmake
|
, cmake
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, llvmPackages
|
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, testers
|
, testers
|
||||||
, Security
|
, Security
|
||||||
|
@ -22,9 +20,8 @@ let
|
||||||
sha256 = "sha256-aXScqJ1LijMSAy9YkS5QyXtTqxd19lLt3BbyVXlbw8o=";
|
sha256 = "sha256-aXScqJ1LijMSAy9YkS5QyXtTqxd19lLt3BbyVXlbw8o=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ clang cmake ];
|
nativeBuildInputs = [ cmake rustPlatform.bindgenHook ];
|
||||||
buildInputs = [ llvmPackages.libclang ]
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||||
++ lib.optional stdenv.isDarwin Security;
|
|
||||||
|
|
||||||
cargoLock = {
|
cargoLock = {
|
||||||
lockFile = ./Cargo.lock;
|
lockFile = ./Cargo.lock;
|
||||||
|
@ -33,8 +30,6 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion { inherit package; };
|
passthru.tests.version = testers.testVersion { inherit package; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue