biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / virtualization / govc / default.nix
blob2fbdd34f145a1b0b1e6bfaac99c81568a4dbe34e
1 { lib, fetchFromGitHub, buildGoModule }:
3 buildGoModule rec {
4   pname = "govc";
5   version = "0.44.0";
7   subPackages = [ "govc" ];
9   src = fetchFromGitHub {
10     rev = "v${version}";
11     owner = "vmware";
12     repo = "govmomi";
13     sha256 = "sha256-DHzSW8PTi8CnIYvauhoEBSUKOInR8VwTIfosjzLY6CM=";
14   };
16   vendorHash = "sha256-ddofXjBnyHRn7apS8hpM57S1oo+1w5i4n0Z6ZPKQEDI=";
18   ldflags = [
19     "-s"
20     "-w"
21     "-X github.com/vmware/govmomi/govc/flags.BuildVersion=${version}"
22   ];
24   meta = {
25     description = "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     mainProgram = "govc";
30   };