-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
class Arjun < Formula | ||
include Language::Python::Virtualenv | ||
|
||
desc "HTTP parameter discovery suite" | ||
homepage "https://github.com/s0md3v/Arjun" | ||
url "https://files.pythonhosted.org/packages/83/2d/e521035e38c81c9d7f4aa02a287dddeb163ad51ebca28bef7563fc503c07/arjun-2.2.2.tar.gz" | ||
|
@@ -16,17 +18,40 @@ class Arjun < Formula | |
sha256 cellar: :any_skip_relocation, x86_64_linux: "26c2d40b7150decd2cbb95201c8eff966fc477d3ce3612275c7e60984882486d" | ||
end | ||
|
||
depends_on "python-setuptools" => :build | ||
depends_on "python-dicttoxml" | ||
depends_on "python-requests" | ||
depends_on "python-certifi" | ||
depends_on "[email protected]" | ||
|
||
def python3 | ||
"python3.12" | ||
end | ||
|
||
resource "charset-normalizer" do | ||
url "https://files.pythonhosted.org/packages/63/09/c1bc53dab74b1816a00d8d030de5bf98f724c52c1635e07681d312f20be8/charset-normalizer-3.3.2.tar.gz" | ||
sha256 "f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5" | ||
end | ||
|
||
resource "dicttoxml" do | ||
url "https://files.pythonhosted.org/packages/ee/c9/3132427f9e64d572688e6a1cbe3d542d1a03f676b81fb600f3d1fd7d2ec5/dicttoxml-1.7.16.tar.gz" | ||
sha256 "6f36ce644881db5cd8940bee9b7cb3f3f6b7b327ba8a67d83d3e2caa0538bf9d" | ||
end | ||
|
||
resource "idna" do | ||
url "https://files.pythonhosted.org/packages/bf/3f/ea4b9117521a1e9c50344b909be7886dd00a519552724809bb1f486986c2/idna-3.6.tar.gz" | ||
sha256 "9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca" | ||
end | ||
|
||
resource "requests" do | ||
url "https://files.pythonhosted.org/packages/9d/be/10918a2eac4ae9f02f6cfe6414b7a155ccd8f7f9d4380d62fd5b955065c3/requests-2.31.0.tar.gz" | ||
sha256 "942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1" | ||
end | ||
|
||
resource "urllib3" do | ||
url "https://files.pythonhosted.org/packages/e2/cc/abf6746cc90bc52df4ba730f301b89b3b844d6dc133cb89a01cfe2511eb9/urllib3-2.2.0.tar.gz" | ||
sha256 "051d961ad0c62a94e50ecf1af379c3aba230c66c710493493560c0c223c49f20" | ||
end | ||
|
||
def install | ||
system python3, "-m", "pip", "install", *std_pip_args, "." | ||
virtualenv_install_with_resources | ||
end | ||
|
||
test do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters