From b9bc4a9d299cee20914a158c3bc1ef8ffb183ad7 Mon Sep 17 00:00:00 2001 From: Sean Murphy Date: Thu, 4 Jul 2024 17:49:10 +0200 Subject: [PATCH] skypilot: init at 0.6.0 Co-authored-by: aos <25783780+aos@users.noreply.github.com> --- pkgs/by-name/sk/skypilot/package.nix | 62 ++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 pkgs/by-name/sk/skypilot/package.nix diff --git a/pkgs/by-name/sk/skypilot/package.nix b/pkgs/by-name/sk/skypilot/package.nix new file mode 100644 index 000000000000..0a951a8cd96d --- /dev/null +++ b/pkgs/by-name/sk/skypilot/package.nix @@ -0,0 +1,62 @@ +{ + lib, + pkgs, + stdenv, + fetchFromGitHub, + python3Packages, +}: + +python3Packages.buildPythonApplication rec { + pname = "skypilot"; + version = "0.6.0"; + + src = fetchFromGitHub { + owner = "skypilot-org"; + repo = "skypilot"; + rev = "v${version}"; + hash = "sha256-SddXouful2RSp7ijx6YLzfBhBvzN9xKM2dRzivgNflw=="; + }; + + pyproject = true; + + build-system = with python3Packages; [ setuptools ]; + + # when updating, please ensure package version constraints stipulaed + # in setup.py are met + propagatedBuildInputs = with python3Packages; [ + cachetools + click + colorama + cryptography + filelock + jinja2 + jsonschema + networkx + packaging + pandas + pendulum + prettytable + psutil + python-dotenv + pyyaml + pulp + requests + rich + tabulate + typing-extensions + wheel + ]; + + meta = { + description = "Run LLMs and AI on any Cloud"; + longDescription = '' + SkyPilot is a framework for running LLMs, AI, and batch jobs on any + cloud, offering maximum cost savings, highest GPU availability, and + managed execution. + ''; + homepage = "https://github.com/skypilot-org/skypilot"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ seanrmurphy ]; + mainProgram = "sky"; + }; +}