From 6361e701174cc995bfbb06bee117c295a96087c9 Mon Sep 17 00:00:00 2001 From: xrelkd <46590321+xrelkd@users.noreply.github.com> Date: Thu, 25 Apr 2019 00:28:40 +0800 Subject: [PATCH] rust-bindgen: 0.42.2 -> 0.49.0 Update homepage URL (rust-bindgen has been moved to https://github.com/rust-lang/rust-bindgen from https://github.com/rust-lang-nursery/rust-bindgen) --- pkgs/development/tools/rust/bindgen/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/rust/bindgen/default.nix b/pkgs/development/tools/rust/bindgen/default.nix index a1f5e5769ae..d0cd28379d6 100644 --- a/pkgs/development/tools/rust/bindgen/default.nix +++ b/pkgs/development/tools/rust/bindgen/default.nix @@ -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 ]; };