Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions Formula/n/nuclei.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Nuclei < Formula
desc "HTTP/DNS scanner configurable via YAML templates"
homepage "https://docs.projectdiscovery.io/tools/nuclei/overview"
url "https://github.com/projectdiscovery/nuclei/archive/refs/tags/v3.7.0.tar.gz"
sha256 "ade99ba8e6e5c3c3b18d7989a96244c73d4303eba6d8c6c3045f14d5461a138a"
url "https://github.com/projectdiscovery/nuclei/archive/refs/tags/v3.7.1.tar.gz"
sha256 "aefa55d31d8d4e60cdb1458d33ac85ddd723c4046e6c82a8cc16e5d602b0a351"
license "MIT"
head "https://github.com/projectdiscovery/nuclei.git", branch: "dev"

Expand All @@ -15,11 +15,9 @@ class Nuclei < Formula
sha256 cellar: :any_skip_relocation, x86_64_linux: "da2edcc38d0b3890b1322eff17eb7171657f58f7ab56ff5a6a2fd9f575949455"
end

# Unpin go when nuclei supports Go 1.26, in release including: https://github.com/projectdiscovery/nuclei/pull/6841
depends_on "go@1.25" => :build
depends_on "go" => :build

def install
odie "Unpin go@1.25 to use go 1.26" if build.stable? && version > "3.7.0"
system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/nuclei"
end

Expand Down
Loading