2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "govc";
|
2021-04-26 19:14:03 +00:00
|
|
|
version = "0.25.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/vmware/govmomi";
|
|
|
|
|
|
|
|
subPackages = [ "govc" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "vmware";
|
|
|
|
repo = "govmomi";
|
2021-04-26 19:14:03 +00:00
|
|
|
sha256 = "sha256-Ri8snbmgcAZmdumKzBl3P6gf/eZgwdgg7V+ijyeZjks=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A vSphere CLI built on top of govmomi";
|
|
|
|
homepage = "https://github.com/vmware/govmomi/tree/master/govc";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ nicknovitski ];
|
|
|
|
};
|
|
|
|
}
|