python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / virtualization / govc / default.nix
blob1a44cf7ebc5b32b5179a790250b0ff8ebdd365da
1 { lib, fetchFromGitHub, buildGoModule }:
3 buildGoModule rec {
4   pname = "govc";
5   version = "0.29.0";
7   subPackages = [ "govc" ];
9   src = fetchFromGitHub {
10     rev = "v${version}";
11     owner = "vmware";
12     repo = "govmomi";
13     sha256 = "sha256-SVQyl1uI3wGBBDhz2VLm0uJj+aREqNot7K+iGRHGmhI=";
14   };
16   vendorSha256 = "sha256-jbGqQITAhyBLoDa3cKU5gK+4WGgoGSCyFtzeoXx8e7k=";
18   ldflags = [
19     "-s"
20     "-w"
21     "-X github.com/vmware/govmomi/govc/flags.BuildVersion=${version}"
22   ];
24   meta = {
25     description = "A vSphere CLI built on top of govmomi";
26     homepage = "https://github.com/vmware/govmomi/tree/master/govc";
27     license = lib.licenses.asl20;
28     maintainers = with lib.maintainers; [ nicknovitski ];
29   };