Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
775 B
Nix
33 lines
775 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "runpodctl";
|
|
version = "1.14.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "runpod";
|
|
repo = "runpodctl";
|
|
rev = "v${version}";
|
|
hash = "sha256-RXI1NAdEg5QypRDXg0NCpHLDrxcRCCS22KGnZyotXrI=";
|
|
};
|
|
|
|
vendorHash = "sha256-SaaHVaN2r3DhUk7sVizhRggYZRujd+e8qbpq0xOVD88=";
|
|
|
|
postInstall = ''
|
|
rm $out/bin/docs # remove the docs binary
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://github.com/runpod/runpodctl";
|
|
description = "CLI tool to automate / manage GPU pods for runpod.io";
|
|
changelog = "https://github.com/runpod/runpodctl/raw/v${version}/CHANGELOG.md";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = [ lib.maintainers.georgewhewell ];
|
|
mainProgram = "runpodctl";
|
|
};
|
|
}
|