Skip to content

Commit 37ff49c

Browse files
BrewTestBotdaeho-ro
authored andcommitted
feluda 1.5.2
1 parent c157039 commit 37ff49c

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

Formula/f/feluda.rb

+9-11
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
class Feluda < Formula
22
desc "Detect license usage restrictions in your project"
33
homepage "https://github.com/anistark/feluda"
4+
url "https://github.com/anistark/feluda/archive/refs/tags/1.5.2.tar.gz"
5+
sha256 "7b79f5374bb6b1b1bdb4e8f2bd0bac5d52a66b4aed58cbd2fae7b6facf153701"
46
license "MIT"
57
head "https://github.com/anistark/feluda.git", branch: "main"
68

7-
stable do
8-
url "https://github.com/anistark/feluda/archive/refs/tags/1.5.1.tar.gz"
9-
sha256 "7a011aae95cf26927730aa31e4470600b35feeb01a03b39be5c01a3b171797e1"
10-
11-
# version patch
12-
patch do
13-
url "https://github.com/anistark/feluda/commit/a9b3cbab62baff0bae23afa3f02426e8eeab38d3.patch?full_index=1"
14-
sha256 "139fabfcfc2a929894f4b95278ae911fbf2839b29059ceb6ff02546ce936581e"
15-
end
16-
end
17-
189
# Upstream creates releases that use a stable tag (e.g., `v1.2.3`) but are
1910
# labeled as "pre-release" on GitHub before the version is released, so it's
2011
# necessary to use the `GithubLatest` strategy.
@@ -34,7 +25,14 @@ class Feluda < Formula
3425

3526
depends_on "rust" => :build
3627

28+
on_linux do
29+
depends_on "openssl@3"
30+
end
31+
3732
def install
33+
# Ensure the correct `openssl` will be picked up.
34+
ENV["OPENSSL_DIR"] = Formula["openssl@3"].opt_prefix if OS.linux?
35+
3836
system "cargo", "install", *std_cargo_args
3937
end
4038

0 commit comments

Comments
 (0)