cargo-completion 0.35.0

Closes #38851.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Chongyu Zhu 2019-05-06 09:06:16 +08:00
parent ab8d8cd1bf
commit d3c0ad11af
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -1,13 +1,20 @@
class CargoCompletion < Formula
desc "Bash and Zsh completion for Cargo"
homepage "https://github.com/rust-lang/cargo"
url "https://github.com/rust-lang/cargo/archive/0.34.0.tar.gz"
sha256 "658eb7be37d0e1c1c1b7c6a828ff0dbaed1405b5176ce50d8145d47a0fd258f1"
url "https://github.com/rust-lang/cargo/archive/0.35.0.tar.gz"
sha256 "59d27a00be827f30a26700240dc0651ded5e0ff035f6efb0319a0a0267fea22d"
version_scheme 1
head "https://github.com/rust-lang/cargo.git"
bottle :unneeded
# Upstream patch that fixes the compatibility with the macOS stock bash.
# See rust-lang/cargo#6905.
patch do
url "https://github.com/rust-lang/cargo/commit/e2c519dd7ac61e4d2f94cad60ef920ce4aa1718f.patch?full_index=1"
sha256 "3dd6a7914ac133b51c4004ac1d43ffb9fc6b87d2635e761ff488170bf06584ec"
end
def install
bash_completion.install "src/etc/cargo.bashcomp.sh" => "cargo"
zsh_completion.install "src/etc/_cargo"