mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-15 09:23:37 +00:00
6e1795e145
It's not supported in upstream, see https://github.com/kubernetes/minikube/blob/master/pkg/minikube/driver/driver_darwin.go#L27-L35
24 lines
620 B
Nix
24 lines
620 B
Nix
{ lib, buildGoModule, minikube }:
|
|
|
|
buildGoModule rec {
|
|
inherit (minikube) version src nativeBuildInputs buildInputs vendorHash doCheck;
|
|
|
|
pname = "docker-machine-hyperkit";
|
|
|
|
buildPhase = ''
|
|
make docker-machine-driver-hyperkit COMMIT=${src.rev}
|
|
'';
|
|
|
|
installPhase = ''
|
|
install out/docker-machine-driver-hyperkit -Dt $out/bin
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://minikube.sigs.k8s.io/docs/drivers/hyperkit";
|
|
description = "HyperKit driver for docker-machine";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ atkinschang ];
|
|
platforms = [ "x86_64-darwin" ];
|
|
};
|
|
}
|