summaryrefslogtreecommitdiff
path: root/pkgs/by-name/ko/komodo/package.nix
blob: de7228665c185cc9f86765c0e1c67efad382d0e1 (about) (plain)
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
{
  lib,
  rustPlatform,
  fetchFromGitHub,
  nix-update-script,
}:

rustPlatform.buildRustPackage rec {
  pname = "komodo";
  version = "1.17.0";

  src = fetchFromGitHub {
    owner = "moghtech";
    repo = "komodo";
    tag = "v${version}";
    hash = "sha256-8RY7g7dCjY+vt4x5+dcRhjcFPDhK8ZLMksPloWWharc=";
  };

  useFetchCargoVendor = true;

  cargoHash = "sha256-r8p/kd3W7+zlrt2NsdAIOg9J4OU9QDTZBOWfCLV5+ys=";

  # disable for check. document generation is fail
  # > error: doctest failed, to rerun pass `-p komodo_client --doc`
  doCheck = false;

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Tool to build and deploy software on many servers";
    longDescription = ''
      Komodo is a web app to provide structure for managing your servers, builds, deployments, and automated procedures.

      With Komodo you can:
      * Connect all of your servers, and alert on CPU usage, memory usage, and disk usage.
      * Create, start, stop, and restart Docker containers on the connected servers, and view their status and logs.
      * Deploy docker compose stacks. The file can be defined in UI, or in a git repo, with auto deploy on git push.
      * Build application source into auto-versioned Docker images, auto built on webhook. Deploy single-use AWS instances for infinite capacity.
      * Manage repositories on connected servers, which can perform automation via scripting / webhooks.
      * Manage all your configuration / environment variables, with shared global variable and secret interpolation.
      * Keep a record of all the actions that are performed and by whom.

      Komodo is composed of a single core and any amount of connected servers running the periphery application.
    '';
    homepage = "https://komo.do";
    changelog = "https://github.com/moghtech/komodo/releases/tag/v${version}";
    mainProgram = "komodo";
    maintainers = with lib.maintainers; [ r17x ];
    license = lib.licenses.gpl3;
  };
}