nixpkgs/pkgs/tools/virtualization/govc/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
590 B
Nix

{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
pname = "govc";
version = "0.20.0";
goPackagePath = "github.com/vmware/govmomi";
subPackages = [ "govc" ];
src = fetchFromGitHub {
rev = "v${version}";
owner = "vmware";
repo = "govmomi";
sha256 = "16pgjhlps21vk3cb5h2y0b6skq095rd8kl0618rwrz84chdnzahk";
};
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 ];
};
}