From daa4e17814bb665af128e98429559f628d20ece5 Mon Sep 17 00:00:00 2001 From: georgewhewell Date: Mon, 1 Apr 2024 23:28:57 +0200 Subject: [PATCH] runpodctl: init at 1.14.4 Update pkgs/by-name/ru/runpodctl/package.nix Co-authored-by: Aleksana Update pkgs/by-name/ru/runpodctl/package.nix Co-authored-by: Aleksana fix: runpodctl license Update pkgs/by-name/ru/runpodctl/package.nix Co-authored-by: Aleksana Update pkgs/by-name/ru/runpodctl/package.nix Co-authored-by: Aleksana --- pkgs/by-name/ru/runpodctl/package.nix | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pkgs/by-name/ru/runpodctl/package.nix diff --git a/pkgs/by-name/ru/runpodctl/package.nix b/pkgs/by-name/ru/runpodctl/package.nix new file mode 100644 index 000000000000..729193992cae --- /dev/null +++ b/pkgs/by-name/ru/runpodctl/package.nix @@ -0,0 +1,32 @@ +{ + lib, + buildGoModule, + fetchFromGitHub, +}: + +buildGoModule rec { + pname = "runpodctl"; + version = "1.14.4"; + + src = fetchFromGitHub { + owner = "runpod"; + repo = "runpodctl"; + rev = "v${version}"; + hash = "sha256-QU2gujECzT5mPkZi6siMO7IZRXNZHS0TchYxnG4Snj8="; + }; + + vendorHash = "sha256-8/OrM8zrisAfZdeo6FGP6+quKMwjxel1BaRIY+yJq5E="; + + postInstall = '' + rm $out/bin/docs # remove the docs binary + ''; + + meta = with lib; { + 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 = licenses.gpl3; + maintainers = [ maintainers.georgewhewell ]; + mainProgram = "runpodctl"; + }; +}