rust-cbindgen: 0.8.3 -> 0.8.7
This commit is contained in:
parent
0be5740700
commit
8f2d6a5709
@ -2,19 +2,22 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "rust-cbindgen-${version}";
|
name = "rust-cbindgen-${version}";
|
||||||
version = "0.8.3";
|
version = "0.8.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "eqrion";
|
owner = "eqrion";
|
||||||
repo = "cbindgen";
|
repo = "cbindgen";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "08zlnk1k1nddjciccfdcplxqngsnz6ml3zxm57mijabzybry8zz1";
|
sha256 = "040rivayr0dgmrhlly5827c850xbr0j5ngiy6rvwyba5j9iv2x0y";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "1nig4891p7ii4z4f4j4d4pxx39f501g7yrsygqbpkr1nrgjip547";
|
cargoSha256 = "1nig4891p7ii4z4f4j4d4pxx39f501g7yrsygqbpkr1nrgjip547";
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
|
# https://github.com/eqrion/cbindgen/issues/338
|
||||||
|
RUSTC_BOOTSTRAP = 1;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A project for generating C bindings from Rust code";
|
description = "A project for generating C bindings from Rust code";
|
||||||
homepage = https://github.com/eqrion/cbindgen;
|
homepage = https://github.com/eqrion/cbindgen;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user