about summary refs log tree commit diff
path: root/pkgs/development/tools/rust/bindgen
diff options
context:
space:
mode:
authorVladyslav M <dywedir@pm.me>2018-09-28 23:54:43 +0300
committerxeji <36407913+xeji@users.noreply.github.com>2018-09-28 22:54:43 +0200
commit6c90a975c27d59863600b4cfe47c4c3d2fb8e5d5 (patch)
treec34da00d736c3fdf81945ec03e45ab7c542621aa /pkgs/development/tools/rust/bindgen
parent6d307e69999bf7c91fbfe270317480a3a8591e60 (diff)
downloadnixlib-6c90a975c27d59863600b4cfe47c4c3d2fb8e5d5.tar
nixlib-6c90a975c27d59863600b4cfe47c4c3d2fb8e5d5.tar.gz
nixlib-6c90a975c27d59863600b4cfe47c4c3d2fb8e5d5.tar.bz2
nixlib-6c90a975c27d59863600b4cfe47c4c3d2fb8e5d5.tar.lz
nixlib-6c90a975c27d59863600b4cfe47c4c3d2fb8e5d5.tar.xz
nixlib-6c90a975c27d59863600b4cfe47c4c3d2fb8e5d5.tar.zst
nixlib-6c90a975c27d59863600b4cfe47c4c3d2fb8e5d5.zip
rust-bindgen: 0.37.0 -> 0.40.0 (#46137)
Diffstat (limited to 'pkgs/development/tools/rust/bindgen')
-rw-r--r--pkgs/development/tools/rust/bindgen/default.nix16
1 files changed, 4 insertions, 12 deletions
diff --git a/pkgs/development/tools/rust/bindgen/default.nix b/pkgs/development/tools/rust/bindgen/default.nix
index 68df0af6ee46..0463ab3ba0af 100644
--- a/pkgs/development/tools/rust/bindgen/default.nix
+++ b/pkgs/development/tools/rust/bindgen/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, fetchFromGitHub, fetchpatch, rustPlatform, clang, llvmPackages, rustfmt, writeScriptBin }:
+{ stdenv, fetchFromGitHub, rustPlatform, clang, llvmPackages, rustfmt, writeScriptBin }:
 
 rustPlatform.buildRustPackage rec {
   name = "rust-bindgen-${version}";
-  version = "0.37.0";
+  version = "0.40.0";
 
   src = fetchFromGitHub {
     owner = "rust-lang-nursery";
     repo = "rust-bindgen";
     rev = "v${version}";
-    sha256 = "0cqjr7qspjrfgqcp4nqxljmhhbqyijb2jpw3lajgjj48y6wrnw93";
+    sha256 = "0d7jqgi3aadwqcxiaz7axsq9h6n2i42yd3q0p1hc5l0kcdwwbj5k";
   };
 
-  cargoSha256 = "0b8v6c7q1abibzygrigldpd31lyd5ngmj4vq5d7zni96m20mm85w";
+  cargoSha256 = "1rjyazhnk9xihqw1qzkkcrab627lqbj789g5d5nb8bn2hkbdx5d6";
 
   libclang = llvmPackages.libclang.lib; #for substituteAll
 
@@ -19,14 +19,6 @@ rustPlatform.buildRustPackage rec {
 
   propagatedBuildInputs = [ clang ]; # to populate NIX_CXXSTDLIB_COMPILE
 
-  patches = [
-    # https://github.com/rust-lang-nursery/rust-bindgen/pull/1376
-    (fetchpatch {
-      url = https://github.com/rust-lang-nursery/rust-bindgen/commit/c8b5406f08af82a92bf8faf852c21ba941d9c176.patch;
-      sha256 = "16ibr2rplh0qz8rsq6gir45xlz5nasad4y8fprwhrb7ssv8wfkss";
-    })
-  ];
-
   configurePhase = ''
     export LIBCLANG_PATH="${libclang}/lib"
   '';