2019-08-13 18:02:55 +00:00
|
|
|
{ lib, buildGoModule, minikube }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
2020-05-01 01:59:00 +00:00
|
|
|
inherit (minikube) version src nativeBuildInputs buildInputs vendorSha256 commit;
|
2019-08-13 18:02:55 +00:00
|
|
|
|
|
|
|
pname = "docker-machine-hyperkit";
|
2019-12-04 10:57:56 +00:00
|
|
|
|
2020-04-28 08:27:51 +00:00
|
|
|
buildPhase = ''
|
|
|
|
make docker-machine-driver-hyperkit COMMIT=${commit}
|
|
|
|
'';
|
2019-08-13 18:02:55 +00:00
|
|
|
|
2020-04-28 08:27:51 +00:00
|
|
|
installPhase = ''
|
|
|
|
install out/docker-machine-driver-hyperkit -Dt $out/bin
|
2019-08-13 18:02:55 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-28 08:27:51 +00:00
|
|
|
homepage = "https://minikube.sigs.k8s.io/docs/drivers/hyperkit";
|
2019-08-13 18:02:55 +00:00
|
|
|
description = "HyperKit driver for docker-machine.";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ atkinschang ];
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
};
|
2020-05-01 01:59:00 +00:00
|
|
|
}
|