nixpkgs/pkgs/applications/networking/cluster/docker-machine/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
932 B
Nix
Raw Normal View History

2016-09-16 23:15:54 +00:00
# This file was generated by go2nix.
{ lib, buildGoPackage, fetchFromGitHub, installShellFiles }:
2016-09-16 23:15:54 +00:00
buildGoPackage rec {
pname = "machine";
2022-08-14 08:15:25 +00:00
version = "0.16.2";
2016-09-16 23:15:54 +00:00
goPackagePath = "github.com/docker/machine";
src = fetchFromGitHub {
rev = "v${version}";
owner = "docker";
repo = "machine";
2022-08-14 08:15:25 +00:00
sha256 = "sha256-Mo2OGpem3p6hCNJ46+RH3BfC7kmKB4yk4Vzo38K88UM=";
2016-09-16 23:15:54 +00:00
};
2020-04-26 03:16:50 +00:00
nativeBuildInputs = [ installShellFiles ];
2016-12-11 13:54:23 +00:00
2020-04-26 03:16:50 +00:00
postInstall = ''
pushd go/src/${goPackagePath}/contrib/completion
installShellCompletion --bash bash/*
installShellCompletion --zsh zsh/*
popd
2016-09-16 23:15:54 +00:00
'';
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";
2016-09-16 23:15:54 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ offline tailhook ];
2016-09-30 14:41:07 +00:00
platforms = platforms.unix;
2016-09-16 23:15:54 +00:00
};
}