mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
commit
bb5f079b31
@ -1,10 +1,8 @@
|
|||||||
{ lib, fetchFromGitHub, buildGoPackage }:
|
{ lib, fetchFromGitHub, buildGoModule }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "govc";
|
pname = "govc";
|
||||||
version = "0.25.0";
|
version = "0.28.0";
|
||||||
|
|
||||||
goPackagePath = "github.com/vmware/govmomi";
|
|
||||||
|
|
||||||
subPackages = [ "govc" ];
|
subPackages = [ "govc" ];
|
||||||
|
|
||||||
@ -12,9 +10,17 @@ buildGoPackage rec {
|
|||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "vmware";
|
owner = "vmware";
|
||||||
repo = "govmomi";
|
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 = {
|
meta = {
|
||||||
description = "A vSphere CLI built on top of govmomi";
|
description = "A vSphere CLI built on top of govmomi";
|
||||||
homepage = "https://github.com/vmware/govmomi/tree/master/govc";
|
homepage = "https://github.com/vmware/govmomi/tree/master/govc";
|
||||||
|
Loading…
Reference in New Issue
Block a user