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