-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5dd0d03
commit f43bf4e
Showing
4 changed files
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# This file was generated by go2nix. | ||
{ lib, buildGoModule, fetchFromGitLab, installShellFiles }: | ||
|
||
buildGoModule rec { | ||
pname = "machine"; | ||
version = "0.16.2-gitlab.29"; | ||
|
||
src = fetchFromGitLab { | ||
rev = "v${version}"; | ||
owner = "gitlab-org/ci-cd"; | ||
repo = "docker-machine"; | ||
hash = "sha256-qX+rHQBFzODuH+h3d+84jqj7dpGcg3PPYD+Smd2xdwc="; | ||
}; | ||
|
||
doCheck = false; | ||
|
||
vendorHash = "sha256-apI1wUm/idIxsmGgB1bazsVGfAVjEodxd9+UTDhKiPA="; | ||
|
||
nativeBuildInputs = [ installShellFiles ]; | ||
|
||
postInstall = '' | ||
pushd contrib/completion | ||
installShellCompletion --bash bash/* | ||
installShellCompletion --zsh zsh/* | ||
popd | ||
''; | ||
|
||
meta = with lib; { | ||
homepage = "https://docs.docker.com/machine/"; | ||
description = "Docker Machine is a tool that lets you install Docker Engine on virtual hosts, and manage Docker Engine on the hosts"; | ||
license = licenses.asl20; | ||
maintainers = with maintainers; [ offline tailhook ]; | ||
platforms = platforms.unix; | ||
}; | ||
} |