Merge pull request #60168 from xrelkd/update/rust-bindgen

rust-bindgen: 0.42.2 -> 0.49.0
This commit is contained in:
Vladyslav M 2019-04-26 13:42:31 +03:00 committed by GitHub
commit 90fa183b9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,17 +2,17 @@
runtimeShell }:
rustPlatform.buildRustPackage rec {
name = "rust-bindgen-${version}";
version = "0.42.2";
pname = "rust-bindgen";
version = "0.49.0";
src = fetchFromGitHub {
owner = "rust-lang-nursery";
repo = "rust-bindgen";
owner = "rust-lang";
repo = pname;
rev = "v${version}";
sha256 = "10h0h7x8yf4dsyw2p2nas2jg5p3i29np0y3rfzrdq898d70gvq4j";
sha256 = "0i1lh8z0jpf8gcfqxig8kl6wzjrkwb3jkad5ghb6ppkdkpr94jq4";
};
cargoSha256 = "01jvi86xgz0r7ia9agnfpms6b6x68lzwj6f085m0w659i94acgpi";
cargoSha256 = "0v3slbah0s1w75s38x1akvshcxsi1s810yybd9faday7biwmdbmj";
libclang = llvmPackages.libclang.lib; #for substituteAll
@ -56,7 +56,7 @@ rustPlatform.buildRustPackage rec {
As with most compiler related software, this will only work
inside a nix-shell with the required libraries as buildInputs.
'';
homepage = https://github.com/rust-lang-nursery/rust-bindgen;
homepage = https://github.com/rust-lang/rust-bindgen;
license = with licenses; [ bsd3 ];
maintainers = [ maintainers.ralith ];
};