Skip to content

Commit

Permalink
upcloud-cli: init
Browse files Browse the repository at this point in the history
  • Loading branch information
lu1a committed Jan 8, 2025
1 parent 113ccac commit b6f7850
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/by-name/up/upcloud-cli/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:

buildGoModule rec {
pname = "upcloud-cli";
version = "3.13.0";
tag = "refs/tags/v${version}";

src = fetchFromGitHub {
owner = "UpCloudLtd";
repo = "upcloud-cli";
tag = tag;
hash = "sha256-0hXqqLqZLX9zkRk6/sOh3/w+v5piuAV1277Nk6w1i6s=";
};

vendorHash = "sha256-Sl9D8PyqWfTBrPsVxJtLmU3Qxe5f3kpwd5Oi+5YZ4oo=";

meta = {
changelog = "https://github.com/UpCloudLtd/upcloud-cli/blob/${tag}/CHANGELOG.md";
description = "Command-line tool for managing UpCloud services";
homepage = "https://github.com/UpCloudLtd/upcloud-cli";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lu1a ];
};
}

0 comments on commit b6f7850

Please sign in to comment.