ae2dc6aea6
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
32 lines
789 B
Nix
32 lines
789 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "upbound";
|
|
version = "0.34.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = "up";
|
|
rev = "v${version}";
|
|
hash = "sha256-npWCGR0/iXAF7efreWhpwqboXJ24lqk5TPaB7glwEFI=";
|
|
};
|
|
|
|
vendorHash = "sha256-f/RPyjrC5FsOjC5wnBtqEbLeVX7VeiVYFpRXcQ2lTc4=";
|
|
|
|
subPackages = [ "cmd/docker-credential-up" "cmd/up" ];
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/upbound/up/internal/version.version=v${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description =
|
|
"CLI for interacting with Upbound Cloud, Upbound Enterprise, and Universal Crossplane (UXP)";
|
|
homepage = "https://upbound.io";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ lucperkins ];
|
|
mainProgram = "up";
|
|
};
|
|
}
|