about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/networking/cluster/docker-machine/hyperkit.nix
blob: 716e9da8b7e5b2d4a35d2414935015c36ef2a039 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, buildGoModule, minikube }:

buildGoModule rec {
  inherit (minikube) version src nativeBuildInputs buildInputs goPackagePath preBuild;

  pname = "docker-machine-hyperkit";
  subPackages = [ "cmd/drivers/hyperkit" ];

  modSha256   = minikube.go-modules.outputHash;

  postInstall = ''
    mv $out/bin/hyperkit $out/bin/docker-machine-driver-hyperkit
  '';

  meta = with lib; {
    homepage = https://github.com/kubernetes/minikube/blob/master/docs/drivers.md;
    description = "HyperKit driver for docker-machine.";
    license = licenses.asl20;
    maintainers = with maintainers; [ atkinschang ];
    platforms = platforms.darwin;
  };
}