Skip to content

Commit

Permalink
diamond 2.1.11
Browse files Browse the repository at this point in the history
diamond: add build patch

Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
BrewTestBot authored and chenrui333 committed Jan 25, 2025
1 parent 1233893 commit c03cc2b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Formula/d/diamond.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Diamond < Formula
desc "Accelerated BLAST compatible local sequence aligner"
homepage "https://www.wsi.uni-tuebingen.de/lehrstuehle/algorithms-in-bioinformatics/software/diamond/"
url "https://github.com/bbuchfink/diamond/archive/refs/tags/v2.1.10.tar.gz"
sha256 "c6ede5df30d9d496af314e740964c35a0e358458d9c8d9b8dd517d69828d9981"
url "https://github.com/bbuchfink/diamond/archive/refs/tags/v2.1.11.tar.gz"
sha256 "e669e74ac4a7e45d86024a6b9bfda0642fabb02a8b6ce90a2ec7fb3aeb0f8233"
license "GPL-3.0-or-later"

bottle do
Expand All @@ -18,6 +18,12 @@ class Diamond < Formula

uses_from_macos "zlib"

# fix compile issue, upstream pr ref, https://github.com/bbuchfink/diamond/pull/852
patch do
url "https://github.com/bbuchfink/diamond/commit/a50338f6033f55cbeb2db3526005f649a189c656.patch?full_index=1"
sha256 "67b2998afa133a77497dc2e928af488237d5d8d419bd916df893a318470fd49b"
end

def install
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
system "cmake", "--build", "build"
Expand Down

0 comments on commit c03cc2b

Please # to comment.