rust-bindgen: 0.53.2 -> 0.54.1

This commit is contained in:
Yuki Okushi 2020-08-17 08:30:07 +09:00
parent 9ca1f49410
commit 81e215e691

View file

@ -3,7 +3,7 @@
rustPlatform.buildRustPackage rec {
pname = "rust-bindgen";
version = "0.53.2";
version = "0.54.1";
RUSTFLAGS = "--cap-lints warn"; # probably OK to remove after update
@ -11,10 +11,10 @@ rustPlatform.buildRustPackage rec {
owner = "rust-lang";
repo = pname;
rev = "v${version}";
sha256 = "01dkaa2akqrhpxxf0g2zyfdb3nx16y14qsg0a9d5n92c4yyvmwjg";
sha256 = "116np72w6agsi94xa1bdn6h7sa9gd522h358zlixk9xrhrx7yfn3";
};
cargoSha256 = "0pm9kh3qrcv5jsbrr476982lg1j31fbvxpzs4gphxl0mv1qmp4zm";
cargoSha256 = "12a7bd2579jcnkss073v5w5w68fxwvhq6c6ndjy8vp78wg83qich";
libclang = llvmPackages.libclang.lib; #for substituteAll
@ -51,7 +51,7 @@ rustPlatform.buildRustPackage rec {
'';
meta = with stdenv.lib; {
description = "C and C++ binding generator";
description = "Automatically generates Rust FFI bindings to C (and some C++) libraries.";
longDescription = ''
Bindgen takes a c or c++ header file and turns them into
rust ffi declarations.
@ -61,6 +61,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/rust-lang/rust-bindgen";
license = with licenses; [ bsd3 ];
platforms = platforms.unix;
maintainers = [ maintainers.ralith ];
maintainers = with maintainers; [ johntitor ralith ];
};
}