nixpkgs/pkgs/tools/virtualization/govc/default.nix

25 lines
589 B
Nix
Raw Normal View History

2018-02-16 19:27:14 +00:00
{ lib, fetchFromGitHub, buildGoPackage }:
2018-02-16 19:27:14 +00:00
buildGoPackage rec {
pname = "govc";
2021-01-18 23:24:21 +00:00
version = "0.24.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";
2021-01-18 23:24:21 +00:00
sha256 = "sha256-Urfrkeqbl0+GB2Vr2IfekiilRvGcG0vGO5MGeZcP4C8=";
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";
2018-02-16 19:27:14 +00:00
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ nicknovitski ];
};
}