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