Merge pull request #50349 from andir/rust-cbindgen

rust-cbindgen: 0.6.3 -> 0.6.7
This commit is contained in:
Andreas Rammhold 2018-11-14 23:02:16 +01:00 committed by GitHub
commit 34665b1589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 3 deletions

@ -22,6 +22,14 @@ rec {
patches = nixpkgsPatches ++ [
./no-buildconfig.patch
# this is only required for version 63.0, version 63.0.3 onwards will
# carry the patch
# bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1503401
(fetchpatch {
name = "fix-rust-cbindgen-breaking-change.patch";
url = "https://hg.mozilla.org/releases/mozilla-release/raw-rev/22273af49058";
sha256 = "1kvswbr1jxigli6s5jh3cr21153jx6mlyxf4a39510y3dg19ls0a";
})
];
extraNativeBuildInputs = [ python3 ];

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
name = "rust-cbindgen-${version}";
version = "0.6.3";
version = "0.6.7";
src = fetchFromGitHub {
owner = "eqrion";
repo = "cbindgen";
rev = "v${version}";
sha256 = "18lvvzksc7gfx8fffpil41phjzwdc67xfh0mijkkv4zchwlqkpq2";
sha256 = "0sgkgvkqrc6l46fvk6d9hsy0xrjpl2ix47f3cv5bi74dv8i4y2b4";
};
cargoSha256 = "1m1chwmfgj74xrmn4gb9yz5kx8c408a1hlqmpcq780kqj0k927i9";
cargoSha256 = "137dqj1sp02dh0dz9psf8i8q57gmz3rfgmwk073k7x5zzkgvj21c";
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;