2016-11-30 18:10:12 +00:00
|
|
|
# This file was generated by go2nix.
|
2017-03-03 15:22:27 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub, libvirt, pkgconfig }:
|
2016-11-30 18:10:12 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "docker-machine-kvm-${version}";
|
2018-10-19 22:33:50 +01:00
|
|
|
version = "0.10.0";
|
2016-11-30 18:10:12 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/dhiltgen/docker-machine-kvm";
|
|
|
|
goDeps = ./kvm-deps.nix;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2017-03-03 15:22:27 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
owner = "dhiltgen";
|
|
|
|
repo = "docker-machine-kvm";
|
2018-10-19 22:33:50 +01:00
|
|
|
sha256 = "0ch4zwb6h7hnr5l3skj1daypvpyms2i666lbnmakpw1fw3zvjmgy";
|
2016-11-30 18:10:12 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libvirt ];
|
2016-11-30 18:10:12 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|