about summary refs log tree commit diff
diff options
context:
space:
mode:
authortaku0 <mxxouy6x3m_github@tatapa.org>2019-07-14 14:52:00 +0900
committertaku0 <mxxouy6x3m_github@tatapa.org>2019-07-14 14:52:00 +0900
commit8f2d6a5709aa89f91dbac5b8a81e1b2457becd06 (patch)
treeca40d82dbee501980af503529db3168ea28483ae
parent0be5740700f213c31dce6bb19bb4f1a845b456a3 (diff)
downloadnixlib-8f2d6a5709aa89f91dbac5b8a81e1b2457becd06.tar
nixlib-8f2d6a5709aa89f91dbac5b8a81e1b2457becd06.tar.gz
nixlib-8f2d6a5709aa89f91dbac5b8a81e1b2457becd06.tar.bz2
nixlib-8f2d6a5709aa89f91dbac5b8a81e1b2457becd06.tar.lz
nixlib-8f2d6a5709aa89f91dbac5b8a81e1b2457becd06.tar.xz
nixlib-8f2d6a5709aa89f91dbac5b8a81e1b2457becd06.tar.zst
nixlib-8f2d6a5709aa89f91dbac5b8a81e1b2457becd06.zip
rust-cbindgen: 0.8.3 -> 0.8.7
-rw-r--r--pkgs/development/tools/rust/cbindgen/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/tools/rust/cbindgen/default.nix b/pkgs/development/tools/rust/cbindgen/default.nix
index bce1e273cc41..ca4b6825a38f 100644
--- a/pkgs/development/tools/rust/cbindgen/default.nix
+++ b/pkgs/development/tools/rust/cbindgen/default.nix
@@ -2,19 +2,22 @@
 
 rustPlatform.buildRustPackage rec {
   name = "rust-cbindgen-${version}";
-  version = "0.8.3";
+  version = "0.8.7";
 
   src = fetchFromGitHub {
     owner = "eqrion";
     repo = "cbindgen";
     rev = "v${version}";
-    sha256 = "08zlnk1k1nddjciccfdcplxqngsnz6ml3zxm57mijabzybry8zz1";
+    sha256 = "040rivayr0dgmrhlly5827c850xbr0j5ngiy6rvwyba5j9iv2x0y";
   };
 
   cargoSha256 = "1nig4891p7ii4z4f4j4d4pxx39f501g7yrsygqbpkr1nrgjip547";
 
   buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
 
+  # https://github.com/eqrion/cbindgen/issues/338
+  RUSTC_BOOTSTRAP = 1;
+
   meta = with stdenv.lib; {
     description = "A project for generating C bindings from Rust code";
     homepage = https://github.com/eqrion/cbindgen;