2017-11-20 19:06:29 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub, pkgconfig, Hypervisor, vmnet }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "docker-machine-xhyve";
|
2019-12-10 10:57:20 +00:00
|
|
|
version = "0.4.0";
|
2017-11-20 19:06:29 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/zchee/docker-machine-driver-xhyve";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
2019-12-10 10:55:52 +00:00
|
|
|
owner = "machine-drivers";
|
2017-11-20 19:06:29 +00:00
|
|
|
repo = "docker-machine-driver-xhyve";
|
2019-12-10 10:57:20 +00:00
|
|
|
sha256 = "0000v97fr8xc5b39v44hsa87wrbk4bcwyaaivxv4hxlf4vlgg863";
|
2017-11-20 19:06:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ Hypervisor vmnet ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-12-10 10:55:52 +00:00
|
|
|
homepage = https://github.com/machine-drivers/docker-machine-driver-xhyve;
|
2017-11-20 19:06:29 +00:00
|
|
|
description = "Xhyve driver for docker-machine.";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ periklis ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|