1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/cluster/docker-machine/kvm2.nix

23 lines
638 B
Nix
Raw Normal View History

2019-08-13 19:02:34 +01:00
{ lib, buildGoModule, minikube }:
2018-06-05 22:06:56 +01:00
buildGoModule rec {
2019-12-04 10:08:20 +00:00
inherit (minikube) version src nativeBuildInputs buildInputs goPackagePath preBuild;
2018-06-05 22:06:56 +01:00
2019-08-13 19:02:34 +01:00
pname = "docker-machine-kvm2";
2018-06-05 22:06:56 +01:00
subPackages = [ "cmd/drivers/kvm" ];
2019-08-13 19:02:34 +01:00
modSha256 = minikube.go-modules.outputHash;
2018-06-05 22:06:56 +01:00
postInstall = ''
mv $out/bin/kvm $out/bin/docker-machine-driver-kvm2
2018-06-05 22:06:56 +01:00
'';
2019-08-13 19:02:34 +01:00
meta = with lib; {
homepage = "https://github.com/kubernetes/minikube/blob/master/docs/drivers.md";
2018-06-05 22:06:56 +01:00
description = "KVM2 driver for docker-machine.";
license = licenses.asl20;
2019-08-13 19:02:34 +01:00
maintainers = with maintainers; [ tadfisher atkinschang ];
2018-06-05 22:06:56 +01:00
platforms = platforms.unix;
};
}