1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00
nixpkgs/pkgs/by-name/up/upbound/package.nix
2024-08-11 13:15:31 +00:00

33 lines
791 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "upbound";
version = "0.32.1";
src = fetchFromGitHub {
owner = pname;
repo = "up";
rev = "v${version}";
sha256 = "sha256-E+9Goj2YppZ5Ka84vICmnjDeWcaW7kcxSsKyqZZoDs8=";
};
vendorHash = "sha256-WLRXj4G49JEbQc2aFAjLLCpQrDhN94jazWxfM70hHqs=";
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";
};
}