docker-machine : add new package

This commit is contained in:
Michaël Faille 2016-09-16 19:15:54 -04:00
parent 5ade8fff79
commit 0c34a5da59
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
# This file was generated by go2nix.
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "machine-${version}";
version = "0.8.1";
goPackagePath = "github.com/docker/machine";
src = fetchFromGitHub {
rev = "v${version}";
owner = "docker";
repo = "machine";
sha256 = "0l4a5bqfw8i8wrl5yzkqy848r7vdx6hw8p5m3z3vzabvsmsjjwy7";
};
postFixup = ''
mv $bin/bin/cmd $bin/bin/docker-machine
'';
meta = with stdenv.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.linux;
};
}

View file

@ -12790,6 +12790,8 @@ in
docker-gc = callPackage ../applications/virtualization/docker/gc.nix { };
docker-machine = callPackage ../applications/networking/cluster/docker-machine { };
doodle = callPackage ../applications/search/doodle { };
drumgizmo = callPackage ../applications/audio/drumgizmo { };