Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-machine-parallels 2.0.1 (patch and build with go 1.20) #137195

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions Formula/docker-machine-parallels.rb
Original file line number Diff line number Diff line change
@@ -19,11 +19,17 @@ class DockerMachineParallels < Formula
sha256 cellar: :any_skip_relocation, mojave: "cce66a6fcdea79b33095c2ae7c49c93a9f730353d92738534fdbe03b3488ee43"
end

# Bump to 1.20 on the next release, if possible.
depends_on "[email protected]" => :build
depends_on "go" => :build
depends_on "docker-machine"
depends_on :macos

# Fix build on Go >= 1.20 by removing obsolete build flag:
# https://github.com/Parallels/docker-machine-parallels/pull/113
patch do
url "https://github.com/Parallels/docker-machine-parallels/commit/154f1906924900c948ea8759c711ba43cd236656.patch?full_index=1"
sha256 "ea6eb1a1f713f6e30bafbae19995915327c8400901e3350c60e40b50d43dd2a8"
end

def install
system "make", "build"
bin.install "bin/docker-machine-driver-parallels"