3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #234305 from wegank/amazon-qldb-shell-refactor

amazon-qldb-shell: migrate to bindgenHook
This commit is contained in:
Weijia Wang 2023-05-27 01:47:00 +03:00 committed by GitHub
commit 8975b27be5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,9 +1,7 @@
{ stdenv
, lib
, clang
, cmake
, fetchFromGitHub
, llvmPackages
, rustPlatform
, testers
, Security
@ -22,9 +20,8 @@ let
sha256 = "sha256-aXScqJ1LijMSAy9YkS5QyXtTqxd19lLt3BbyVXlbw8o=";
};
nativeBuildInputs = [ clang cmake ];
buildInputs = [ llvmPackages.libclang ]
++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ cmake rustPlatform.bindgenHook ];
buildInputs = lib.optional stdenv.isDarwin Security;
cargoLock = {
lockFile = ./Cargo.lock;
@ -33,8 +30,6 @@ let
};
};
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
passthru.tests.version = testers.testVersion { inherit package; };
meta = with lib; {