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