forked from mirrors/nixpkgs
Merge pull request #35051 from nicknovitski/govc-init
govc: init at 0.16.0
This commit is contained in:
commit
7623758629
24
pkgs/tools/virtualization/govc/default.nix
Normal file
24
pkgs/tools/virtualization/govc/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ lib, fetchFromGitHub, buildGoPackage }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "govc-${version}";
|
||||
version = "0.16.0";
|
||||
|
||||
goPackagePath = "github.com/vmware/govmomi";
|
||||
|
||||
subPackages = [ "govc" ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "vmware";
|
||||
repo = "govmomi";
|
||||
sha256 = "09fllx7l2hsjrv1jl7g06xngjy0xwn5n5zng6x8dspgsl6kblyqp";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -2511,6 +2511,8 @@ with pkgs;
|
|||
|
||||
gource = callPackage ../applications/version-management/gource { };
|
||||
|
||||
govc = callPackage ../tools/virtualization/govc { };
|
||||
|
||||
gpart = callPackage ../tools/filesystems/gpart { };
|
||||
|
||||
gparted = callPackage ../tools/misc/gparted { };
|
||||
|
|
Loading…
Reference in a new issue