3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/virtualization/govc/default.nix

25 lines
590 B
Nix
Raw Normal View History

2018-02-16 19:27:14 +00:00
{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "govc";
2019-09-01 21:52:56 +01:00
version = "0.21.0";
2018-02-16 19:27:14 +00:00
goPackagePath = "github.com/vmware/govmomi";
subPackages = [ "govc" ];
src = fetchFromGitHub {
rev = "v${version}";
owner = "vmware";
repo = "govmomi";
2019-09-01 21:52:56 +01:00
sha256 = "0mig8w0szxqcii3gihrsm8n8hzziq9l6axc5z32nw9kiy9bi4130";
2018-02-16 19:27:14 +00:00
};
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 ];
};
}