about summary refs log tree commit diff
path: root/pkgs/by-name/sk/skypilot/package.nix
blob: 0a951a8cd96dd5ed986a4050ade91f70f3d3394b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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";
  };
}