Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / up / upbound / package.nix
blob8fb31b33df3326cf8d7f56a635f91728564557d4
1 { lib, buildGoModule, fetchFromGitHub }:
3 buildGoModule rec {
4   pname = "upbound";
5   version = "0.31.0";
7   src = fetchFromGitHub {
8     owner = pname;
9     repo = "up";
10     rev = "v${version}";
11     sha256 = "sha256-nXP97J0DdcXPAD/gB3py5UXhe48Kaec7CRTHmalo+RQ=";
12   };
14   vendorHash = "sha256-9HnKpofJPxCieG5thNcLC7diA51ohzy7xgtniL7FEgo=";
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   };