diff --git a/Formula/httpie.rb b/Formula/httpie.rb index 67e9a16e9fb..1dc038da929 100644 --- a/Formula/httpie.rb +++ b/Formula/httpie.rb @@ -3,8 +3,8 @@ class Httpie < Formula desc "User-friendly cURL replacement (command-line HTTP client)" homepage "https://httpie.io/" - url "https://files.pythonhosted.org/packages/e9/38/e94dac67b61f4dab49c1d26dd47e0b13be8c69c8c1c4fad5a4a87de1d647/httpie-3.2.1.tar.gz" - sha256 "c9c0032ca3a8d62492b7231b2dd83d94becf3b71baf8a4bbcd9ed1038537e3ec" + url "https://github.com/httpie/httpie/archive/refs/tags/3.2.1.tar.gz" + sha256 "803e1624e005c2f7002802a77ebc687b05375aca76af42639f844405328633eb" license "BSD-3-Clause" head "https://github.com/httpie/httpie.git", branch: "master" @@ -92,6 +92,9 @@ class Httpie < Formula man1.install_symlink libexec/"share/man/man1/http.1" man1.install_symlink libexec/"share/man/man1/https.1" man1.install_symlink libexec/"share/man/man1/httpie.1" + + bash_completion.install "extras/httpie-completion.bash" => "httpie" + fish_completion.install "extras/httpie-completion.fish" => "httpie.fish" end test do diff --git a/pypi_formula_mappings.json b/pypi_formula_mappings.json index 33705718c1a..4d76c285666 100644 --- a/pypi_formula_mappings.json +++ b/pypi_formula_mappings.json @@ -193,6 +193,7 @@ "howdoi": { "exclude_packages": ["six"] }, + "httpie": "httpie", "http-prompt": { "exclude_packages": ["six"] },