python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / upbound / default.nix
blobe1ff9841353d23a24e26564ca885dac603bcd2ac
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "upbound";
5   version = "0.12.2";
7   src = fetchFromGitHub {
8     owner = pname;
9     repo = "up";
10     rev = "v${version}";
11     sha256 = "sha256-tbYUxqDtMIlHJ+bIE9PDDhPTSQKaZYObuRFSyRkh8+Y=";
12   };
14   vendorSha256 = "sha256-EeGNH/ka9Mt0vVtZfizXdTqf1f3H1aM5GITUyp+2FxM=";
16   subPackages = [ "cmd/docker-credential-up" "cmd/up" ];
18   ldflags = [
19     "-s"
20     "-w"
21     "-X github.com/upbound/up/internal/version.version=v${version}"
22   ];
24   meta = with lib; {
25     description =
26       "CLI for interacting with Upbound Cloud, Upbound Enterprise, and Universal Crossplane (UXP)";
27     homepage = "https://upbound.io";
28     license = licenses.asl20;
29     maintainers = with maintainers; [ lucperkins ];
30     mainProgram = "up";
31   };