mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
23 lines
652 B
Nix
23 lines
652 B
Nix
{ 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;
|
|
};
|
|
}
|