render-cli: init at 2.5.0 (#457928)
This commit is contained in:
@@ -13299,6 +13299,12 @@
|
||||
name = "Joshua Suskalo";
|
||||
githubId = 27734541;
|
||||
};
|
||||
jtamagnan = {
|
||||
email = "jtamagnan@gmail.com";
|
||||
github = "jtamagnan";
|
||||
githubId = 5892061;
|
||||
name = "Jules Tamagnan";
|
||||
};
|
||||
jtbx = {
|
||||
email = "jeremy@baxters.nz";
|
||||
name = "Jeremy Baxter";
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "render-cli";
|
||||
version = "2.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "render-oss";
|
||||
repo = "cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-nOcgDTFngeO7xKB7e9oLtAGD/ZpQqw++CGjvJRu+PUI=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Kd4qbBwk4U/LIkfwQopMqN5DqKHN5BMCMYWSR+OSKN0=";
|
||||
|
||||
# Tests require network access
|
||||
doCheck = false;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X github.com/render-oss/cli/pkg/cfg.Version=${version}"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/cli $out/bin/render
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Official command-line interface for Render cloud hosting platform";
|
||||
homepage = "https://github.com/render-oss/cli";
|
||||
changelog = "https://github.com/render-oss/cli/releases/tag/v${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ jtamagnan ];
|
||||
mainProgram = "render";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user