forked from mirrors/nixpkgs
docker-machine-kvm: init at 0.7.0
This commit is contained in:
parent
076e3ae32c
commit
54e2973533
|
@ -0,0 +1,21 @@
|
|||
# This file was generated by go2nix.
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/alexzorin/libvirt-go";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/alexzorin/libvirt-go";
|
||||
rev = "9359c4feb97212380aa05213fa30c4b7348365f0";
|
||||
sha256 = "02ipw28pjl5ng2xk63r279apc2py1yr5brcpnsc0cnd2imd51fqa";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/docker/machine";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/docker/machine";
|
||||
rev = "bb37dc7806687013c0c3097342ef7db4257655d2";
|
||||
sha256 = "0wgyxpwis4hyknqalal1cnvb0v3j8f6lscchhk9ch6i69ngiaf03";
|
||||
};
|
||||
}
|
||||
]
|
31
pkgs/applications/networking/cluster/docker-machine/kvm.nix
Normal file
31
pkgs/applications/networking/cluster/docker-machine/kvm.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
# This file was generated by go2nix.
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, libvirt }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "docker-machine-kvm-${version}";
|
||||
version = "0.7.0";
|
||||
|
||||
goPackagePath = "github.com/dhiltgen/docker-machine-kvm";
|
||||
goDeps = ./kvm-deps.nix;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "dhiltgen";
|
||||
repo = "docker-machine-kvm";
|
||||
sha256 = "0zkwwkx74vsfd7v38y9sidi759mhdcpm4409l9y4cx0wmkpavlv6";
|
||||
};
|
||||
|
||||
buildInputs = [ libvirt ];
|
||||
|
||||
postInstall = ''
|
||||
mv $bin/bin/bin $bin/bin/docker-machine-driver-kvm
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/dhiltgen/docker-machine-kvm;
|
||||
description = "KVM driver for docker-machine.";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ offline ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
|
@ -12565,6 +12565,7 @@ in
|
|||
docker-gc = callPackage ../applications/virtualization/docker/gc.nix { };
|
||||
|
||||
docker-machine = callPackage ../applications/networking/cluster/docker-machine { };
|
||||
docker-machine-kvm = callPackage ../applications/networking/cluster/docker-machine/kvm.nix { };
|
||||
|
||||
docker-distribution = callPackage ../applications/virtualization/docker-distribution { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue