|
1 | 1 | class Lazydocker < Formula |
2 | 2 | desc "Lazier way to manage everything docker" |
3 | 3 | homepage "https://github.com/jesseduffield/lazydocker" |
4 | | - url "https://github.com/jesseduffield/lazydocker.git", |
5 | | - tag: "v0.24.1", |
6 | | - revision: "be051153525b018a46f71a2b2ed42cde39a1110c" |
| 4 | + url "https://github.com/jesseduffield/lazydocker/archive/refs/tags/v0.24.1.tar.gz" |
| 5 | + sha256 "f54197d333a28e658d2eb4d9b22461ae73721ec9e4106ba23ed177fc530c21f4" |
7 | 6 | license "MIT" |
8 | 7 |
|
9 | 8 | bottle do |
10 | | - rebuild 1 |
11 | | - sha256 cellar: :any_skip_relocation, arm64_sequoia: "d6f64993358c0dbf9148225c06d2d188f662792221602eda80b0c3b18460a774" |
12 | | - sha256 cellar: :any_skip_relocation, arm64_sonoma: "d6f64993358c0dbf9148225c06d2d188f662792221602eda80b0c3b18460a774" |
13 | | - sha256 cellar: :any_skip_relocation, arm64_ventura: "d6f64993358c0dbf9148225c06d2d188f662792221602eda80b0c3b18460a774" |
14 | | - sha256 cellar: :any_skip_relocation, sonoma: "da5a6148836db44d966471327fd0f7c6e99921c357540476ba84b004ee72c29a" |
15 | | - sha256 cellar: :any_skip_relocation, ventura: "da5a6148836db44d966471327fd0f7c6e99921c357540476ba84b004ee72c29a" |
16 | | - sha256 cellar: :any_skip_relocation, x86_64_linux: "388d54eea16a31e3e7230847a697f2e3ac93888c9869079ba30942c16dc7c8fd" |
| 9 | + rebuild 2 |
| 10 | + sha256 cellar: :any_skip_relocation, arm64_sequoia: "d56e3e9243fcce363bcc3af848e66be911f855a1b00c52cfdfe6dce245a7c60e" |
| 11 | + sha256 cellar: :any_skip_relocation, arm64_sonoma: "d56e3e9243fcce363bcc3af848e66be911f855a1b00c52cfdfe6dce245a7c60e" |
| 12 | + sha256 cellar: :any_skip_relocation, arm64_ventura: "d56e3e9243fcce363bcc3af848e66be911f855a1b00c52cfdfe6dce245a7c60e" |
| 13 | + sha256 cellar: :any_skip_relocation, sonoma: "223526b606bffcc7ff56767b65e135fdc82b6df8575a8c21897a7ec4608404c8" |
| 14 | + sha256 cellar: :any_skip_relocation, ventura: "223526b606bffcc7ff56767b65e135fdc82b6df8575a8c21897a7ec4608404c8" |
| 15 | + sha256 cellar: :any_skip_relocation, x86_64_linux: "43b3ee2215c9e3f64e30c9a06037fbac3cf78c58e9cb150ff1e3e42f657a67bf" |
17 | 16 | end |
18 | 17 |
|
19 | 18 | depends_on "go" => :build |
20 | 19 |
|
21 | 20 | def install |
22 | | - ldflags = "-s -w -X main.version=#{version} -X main.buildSource=homebrew" |
| 21 | + ldflags = %W[ |
| 22 | + -s -w |
| 23 | + -X main.version=#{version} |
| 24 | + -X main.date=#{time.iso8601} |
| 25 | + -X main.buildSource=homebrew |
| 26 | + ] |
23 | 27 | system "go", "build", "-mod=vendor", *std_go_args(ldflags:) |
24 | 28 | end |
25 | 29 |
|
|
0 commit comments