diff --git a/pkgs/applications/networking/cluster/docker-machine/kvm-deps.nix b/pkgs/applications/networking/cluster/docker-machine/kvm-deps.nix index 709491a76f8a..e321b2c1b0ac 100644 --- a/pkgs/applications/networking/cluster/docker-machine/kvm-deps.nix +++ b/pkgs/applications/networking/cluster/docker-machine/kvm-deps.nix @@ -1,21 +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"; + rev = "457c02d06a155827c1c4af9b5ab38c0b6b4e48ea"; + sha256 = "0hx5bhjc7q9ml6h6d2a5csqg6vqwjj68599q0cccw3pcfrb34gmd"; + }; + } + { + goPackagePath = "github.com/libvirt/libvirt-go"; + fetch = { + type = "git"; + url = "https://github.com/libvirt/libvirt-go"; + rev = "e9642325d747c353ca7b76b4893d5dbdc81c296f"; + sha256 = "1822b2kbwyxb2gigbiashcs7v4fsyw7k3sdlqh43ga0l6058fmhl"; }; } ] diff --git a/pkgs/applications/networking/cluster/docker-machine/kvm.nix b/pkgs/applications/networking/cluster/docker-machine/kvm.nix index 46105f34b5b7..a73ec99cb9fb 100644 --- a/pkgs/applications/networking/cluster/docker-machine/kvm.nix +++ b/pkgs/applications/networking/cluster/docker-machine/kvm.nix @@ -1,25 +1,21 @@ # This file was generated by go2nix. -{ stdenv, buildGoPackage, fetchFromGitHub, libvirt }: +{ stdenv, buildGoPackage, fetchFromGitHub, libvirt, pkgconfig }: buildGoPackage rec { name = "docker-machine-kvm-${version}"; - version = "0.7.0"; + version = "0.8.2"; goPackagePath = "github.com/dhiltgen/docker-machine-kvm"; goDeps = ./kvm-deps.nix; src = fetchFromGitHub { - rev = "v${version}"; - owner = "dhiltgen"; - repo = "docker-machine-kvm"; - sha256 = "0zkwwkx74vsfd7v38y9sidi759mhdcpm4409l9y4cx0wmkpavlv6"; + rev = "v${version}"; + owner = "dhiltgen"; + repo = "docker-machine-kvm"; + sha256 = "1p7s340wlcjvna3xa2x13nsnixfhbn5b7dhf9cqvxds2slizlm3p"; }; - buildInputs = [ libvirt ]; - - postInstall = '' - mv $bin/bin/bin $bin/bin/docker-machine-driver-kvm - ''; + buildInputs = [ libvirt pkgconfig ]; meta = with stdenv.lib; { homepage = https://github.com/dhiltgen/docker-machine-kvm;