mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
29 lines
784 B
Nix
29 lines
784 B
Nix
# This file was generated by go2nix.
|
|
{ stdenv, buildGoPackage, fetchFromGitHub, libvirt, pkgconfig }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "docker-machine-kvm";
|
|
version = "0.10.0";
|
|
|
|
goPackagePath = "github.com/dhiltgen/docker-machine-kvm";
|
|
goDeps = ./kvm-deps.nix;
|
|
|
|
src = fetchFromGitHub {
|
|
rev = "v${version}";
|
|
owner = "dhiltgen";
|
|
repo = "docker-machine-kvm";
|
|
sha256 = "0ch4zwb6h7hnr5l3skj1daypvpyms2i666lbnmakpw1fw3zvjmgy";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ libvirt ];
|
|
|
|
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;
|
|
};
|
|
}
|