2018-02-16 19:27:14 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
2020-07-31 05:07:43 +01:00
|
|
|
|
2018-02-16 19:27:14 +00:00
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "govc";
|
2021-03-23 05:35:20 +00:00
|
|
|
version = "0.24.1";
|
2018-02-16 19:27:14 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/vmware/govmomi";
|
|
|
|
|
|
|
|
subPackages = [ "govc" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "vmware";
|
|
|
|
repo = "govmomi";
|
2021-03-23 05:35:20 +00:00
|
|
|
sha256 = "sha256-D2UrYdjstOxx9EAdBtAC44khp8hRf6W3+6kzytUVnOo=";
|
2018-02-16 19:27:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A vSphere CLI built on top of govmomi";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/vmware/govmomi/tree/master/govc";
|
2018-02-16 19:27:14 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ nicknovitski ];
|
|
|
|
};
|
|
|
|
}
|