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}";
|
2017-03-03 15:22:27 +00:00
|
|
|
version = "0.8.2";
|
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";
|
|
|
|
sha256 = "1p7s340wlcjvna3xa2x13nsnixfhbn5b7dhf9cqvxds2slizlm3p";
|
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;
|
|
|
|
};
|
|
|
|
}
|