From 535738eb944ad2c6167157b9016c0469d7f7ea5a Mon Sep 17 00:00:00 2001 From: Vladyslav M Date: Mon, 26 Mar 2018 02:08:04 +0300 Subject: [PATCH] rust-bindgen: 0.32.1 -> 0.35.0 --- pkgs/development/tools/rust/bindgen/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/rust/bindgen/default.nix b/pkgs/development/tools/rust/bindgen/default.nix index 73e64c83696d..61adb0b73fbd 100644 --- a/pkgs/development/tools/rust/bindgen/default.nix +++ b/pkgs/development/tools/rust/bindgen/default.nix @@ -4,27 +4,27 @@ rustPlatform.buildRustPackage rec { name = "rust-bindgen-${version}"; - version = "0.32.1"; + version = "0.35.0"; src = fetchFromGitHub { owner = "rust-lang-nursery"; repo = "rust-bindgen"; - rev = version; - sha256 = "15m1y468c7ixzxwx29wazag0i19a3bmzjp53np6b62sf9wfzbsfa"; + rev = "v${version}"; + sha256 = "1qs67mkvrzwzi69rlq49p098h247197f2jiq1f4ivw9naggq5c7v"; }; nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ llvmPackages.clang-unwrapped ]; + buildInputs = [ llvmPackages.clang-unwrapped.lib ]; configurePhase = '' - export LIBCLANG_PATH="${llvmPackages.clang-unwrapped}/lib" + export LIBCLANG_PATH="${llvmPackages.clang-unwrapped.lib}/lib" ''; postInstall = '' - wrapProgram $out/bin/bindgen --set LIBCLANG_PATH "${llvmPackages.clang-unwrapped}/lib" + wrapProgram $out/bin/bindgen --set LIBCLANG_PATH "${llvmPackages.clang-unwrapped.lib}/lib" ''; - cargoSha256 = "01h0y5phdv3ab8mk2yxw8lgg9783pjjnjl4087iddqhqanlv600d"; + cargoSha256 = "0bh22fkynn1z83230pbj0gg5k3948f6m0idzyqjyfg1f3qmnzdi6"; doCheck = false; # A test fails because it can't find standard headers in NixOS