Skip to content

Commit 8d39501

Browse files
authored
Merge pull request Homebrew#228646 from Homebrew/bump-dprint-0.50.1
dprint 0.50.1
2 parents b9274f5 + 543bb8f commit 8d39501

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

Formula/d/dprint.rb

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,35 @@
11
class Dprint < Formula
22
desc "Pluggable and configurable code formatting platform written in Rust"
33
homepage "https://dprint.dev/"
4-
url "https://github.com/dprint/dprint/archive/refs/tags/0.50.0.tar.gz"
5-
sha256 "28a9538c293a1cbe2af8241d687c44309dd1aa1c514c6a937ef3c25699dce4ea"
4+
url "https://github.com/dprint/dprint/archive/refs/tags/0.50.1.tar.gz"
5+
sha256 "85197a9469fe479fc278e77e87ede6eeb55b7d42d0a530e8b828f3ab9b213358"
66
license "MIT"
77
head "https://github.com/dprint/dprint.git", branch: "main"
88

99
bottle do
10-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "7893a7360baa4540a8f29c450d0670449db12cd9d857e7ca9854631668ad30d0"
11-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "703e06bef2c9c9d0fb74d03bd00a303398d4001080653101a8bd4f72547c7d31"
12-
sha256 cellar: :any_skip_relocation, arm64_ventura: "a59299e27deee4819d4d47cecdbf93cc9d0412d6ff34ce645260fc232ff1a439"
13-
sha256 cellar: :any_skip_relocation, sonoma: "99b08795bea3987a248af08fadd243fff4f35eea291069c15224b0e34b876f32"
14-
sha256 cellar: :any_skip_relocation, ventura: "ffe2efb94cdaff94ee5833ea56cea07eee8821227d92e6df7f4a131b2d64ae87"
15-
sha256 cellar: :any_skip_relocation, arm64_linux: "1e215fd8b93370de515391208e0294bc6da83308d9b08f7631fb1df8e61319ff"
16-
sha256 cellar: :any_skip_relocation, x86_64_linux: "80f9512b0ba9365009f00e66fd0dacd276afa2a8ffbd265a050b8e7098d2aa83"
10+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "94f0c63c279e6557b34abaa5a3daf13ea74a4cc8ad12589eab0b3093f27b7fb9"
11+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "5c743935d64069338d522f7b6d6a75f6b46f9e2cd9f8abb8dafc6f404a66ac51"
12+
sha256 cellar: :any_skip_relocation, arm64_ventura: "1e37f2baf1a456129bbf18c038aa5955ea13b936fc53464c953d42c0296fd290"
13+
sha256 cellar: :any_skip_relocation, sonoma: "4f4c59f4c7cbc9f3f96b7d6673cef9cfa954b19762b6ad4e804cf70ab114f17f"
14+
sha256 cellar: :any_skip_relocation, ventura: "d6f12a4a3dbfc3f65320207500aae56e03c7365206ce800b45d2b643ea8069bf"
15+
sha256 cellar: :any_skip_relocation, arm64_linux: "e5f24e032a52f6ddfb0ce867d0c16f702b31eac5cc22a607c1fdae53999d8698"
16+
sha256 cellar: :any_skip_relocation, x86_64_linux: "97407733307f31f970755ee15f12ca334e32287e5d0350d900fab3e6276de496"
1717
end
1818

19+
depends_on "pkgconf" => :build
1920
depends_on "rust" => :build
21+
depends_on "xz" # required for lzma support
22+
23+
# update deps, upstream pr ref, https://github.com/dprint/dprint/pull/1003
24+
patch do
25+
url "https://github.com/dprint/dprint/commit/bb6ddc6034f73adb188fb2c40aa34d0c6a7ec6de.patch?full_index=1"
26+
sha256 "ea54bc0c12dbd3057a0c95d4c922fd35459f338112c14eb8dc4fe96eb742a733"
27+
end
2028

2129
def install
22-
system "cargo", "install", *std_cargo_args(path: "crates/dprint")
30+
ENV.append "RUSTFLAGS", "-C link-arg=-Wl,-undefined,dynamic_lookup" if OS.mac?
2331

32+
system "cargo", "install", *std_cargo_args(path: "crates/dprint")
2433
generate_completions_from_executable(bin/"dprint", "completions")
2534
end
2635

0 commit comments

Comments
 (0)