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
933 B
Nix
Raw Normal View History

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