diff --git a/pkgs/development/tools/rust/bindgen/default.nix b/pkgs/development/tools/rust/bindgen/default.nix index d0cd28379d6c..cad237b9cbc9 100644 --- a/pkgs/development/tools/rust/bindgen/default.nix +++ b/pkgs/development/tools/rust/bindgen/default.nix @@ -3,16 +3,16 @@ rustPlatform.buildRustPackage rec { pname = "rust-bindgen"; - version = "0.49.0"; + version = "0.49.2"; src = fetchFromGitHub { owner = "rust-lang"; repo = pname; rev = "v${version}"; - sha256 = "0i1lh8z0jpf8gcfqxig8kl6wzjrkwb3jkad5ghb6ppkdkpr94jq4"; + sha256 = "0m9c7zswp87yj7y972ghbx5z7lwbhdxb9qyws5cwiazkl582q0qj"; }; - cargoSha256 = "0v3slbah0s1w75s38x1akvshcxsi1s810yybd9faday7biwmdbmj"; + cargoSha256 = "1311d0wjjj99m59zd2n6r4aq6lwbbpyj54ha2z9g4yd1hn344r91"; libclang = llvmPackages.libclang.lib; #for substituteAll @@ -58,6 +58,7 @@ rustPlatform.buildRustPackage rec { ''; homepage = https://github.com/rust-lang/rust-bindgen; license = with licenses; [ bsd3 ]; + platforms = platforms.unix; maintainers = [ maintainers.ralith ]; }; }