mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Merge pull request #35051 from nicknovitski/govc-init
govc: init at 0.16.0
This commit is contained in:
commit
7623758629
2 changed files with 26 additions and 0 deletions
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 { };
|
gource = callPackage ../applications/version-management/gource { };
|
||||||
|
|
||||||
|
govc = callPackage ../tools/virtualization/govc { };
|
||||||
|
|
||||||
gpart = callPackage ../tools/filesystems/gpart { };
|
gpart = callPackage ../tools/filesystems/gpart { };
|
||||||
|
|
||||||
gparted = callPackage ../tools/misc/gparted { };
|
gparted = callPackage ../tools/misc/gparted { };
|
||||||
|
|
Loading…
Reference in a new issue