Merge pull request #172952 from aaronjheng/govc

govc: 0.25.0 -> 0.28.0
This commit is contained in:
Jörg Thalheim 2022-05-14 08:26:41 +01:00 committed by GitHub
commit bb5f079b31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,8 @@
{ lib, fetchFromGitHub, buildGoPackage }:
{ lib, fetchFromGitHub, buildGoModule }:
buildGoPackage rec {
buildGoModule rec {
pname = "govc";
version = "0.25.0";
goPackagePath = "github.com/vmware/govmomi";
version = "0.28.0";
subPackages = [ "govc" ];
@ -12,9 +10,17 @@ buildGoPackage rec {
rev = "v${version}";
owner = "vmware";
repo = "govmomi";
sha256 = "sha256-Ri8snbmgcAZmdumKzBl3P6gf/eZgwdgg7V+ijyeZjks=";
sha256 = "sha256-uK1JsBJC9O8dEJbAnyeMoolKZ2WhEPsDo/is/I+gfHg=";
};
vendorSha256 = "sha256-jbGqQITAhyBLoDa3cKU5gK+4WGgoGSCyFtzeoXx8e7k=";
ldflags = [
"-s"
"-w"
"-X github.com/vmware/govmomi/govc/flags.BuildVersion=${version}"
];
meta = {
description = "A vSphere CLI built on top of govmomi";
homepage = "https://github.com/vmware/govmomi/tree/master/govc";