biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / by-name / up / upbound / package.nix
blob9bf2b100c910030ea423b3005dbd4b405290752e
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "upbound";
5   version = "0.34.0";
7   src = fetchFromGitHub {
8     owner = pname;
9     repo = "up";
10     rev = "v${version}";
11     hash = "sha256-npWCGR0/iXAF7efreWhpwqboXJ24lqk5TPaB7glwEFI=";
12   };
14   vendorHash = "sha256-f/RPyjrC5FsOjC5wnBtqEbLeVX7VeiVYFpRXcQ2lTc4=";
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   };