nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 775 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "runpodctl"; 9 version = "1.14.15"; 10 11 src = fetchFromGitHub { 12 owner = "runpod"; 13 repo = "runpodctl"; 14 rev = "v${version}"; 15 hash = "sha256-D1B5j1HYSXDgr1vW8kHzCohu3HiDljTEhQhzfa5q/Us="; 16 }; 17 18 vendorHash = "sha256-/0kNURJHIRS1thqEe8d+SAsm8NPOEJa//g9tyswrvFg="; 19 20 postInstall = '' 21 rm $out/bin/docs # remove the docs binary 22 ''; 23 24 meta = { 25 homepage = "https://github.com/runpod/runpodctl"; 26 description = "CLI tool to automate / manage GPU pods for runpod.io"; 27 changelog = "https://github.com/runpod/runpodctl/raw/v${version}/CHANGELOG.md"; 28 license = lib.licenses.gpl3; 29 maintainers = [ lib.maintainers.georgewhewell ]; 30 mainProgram = "runpodctl"; 31 }; 32}