Skip to content

Commit 3a3256b

Browse files
nextclade 1.2.3 (new formula)
1 parent 15e4cb2 commit 3a3256b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Formula/nextclade.rb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
class Nextclade < Formula
2+
desc "Viral genome alignment, mutation calling, clade assignment & quality checks"
3+
homepage "https://clades.nextstrain.org"
4+
url "https://github.com/nextstrain/nextclade/archive/refs/tags/1.2.3.tar.gz"
5+
sha256 "4f0f71df7c26d03f7b5898cd01d0ab30029c46de505ec805f96abee09f8f231a"
6+
license "MIT"
7+
8+
livecheck do
9+
url :stable
10+
strategy :github_latest
11+
end
12+
13+
depends_on "cmake" => :build
14+
depends_on "conan" => :build
15+
depends_on "coreutils" => :build
16+
depends_on "make" => :build
17+
18+
def install
19+
system "make", "prod"
20+
# bin.install ".out/bin/nextalign-MacOS-x86_64" => "nextalign"
21+
# bin.install ".out/bin/nextclade-MacOS-x86_64" => "nextclade"
22+
bin.install Dir[".out/bin/nextalign-*"].first => "nextalign"
23+
bin.install Dir[".out/bin/nextclade-*"].first => "nextclade"
24+
end
25+
26+
test do
27+
assert_match "nextalign #{version}", shell_output("#{bin}/nextalign -h")
28+
assert_match "nextclade #{version}", shell_output("#{bin}/nextclade -h")
29+
end
30+
end

0 commit comments

Comments
 (0)