about summary refs log tree commit diff
path: root/pkgs/tools/misc/mprocs/default.nix
blob: d7b9a44290fa9f1b87b5a16d8439c926aba91f72 (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
{ lib, fetchFromGitHub, rustPlatform, nix-update-script, testers, mprocs }:

rustPlatform.buildRustPackage rec {
  pname = "mprocs";
  version = "0.7.1";

  src = fetchFromGitHub {
    owner = "pvolok";
    repo = "mprocs";
    rev = "refs/tags/v${version}";
    sha256 = "sha256-gK2kgc0Y0s1xys+pUadi8BhGeYxtyKRhNycCoqftmDI=";
  };

  cargoHash = "sha256-lcs+x2devOEZg5YwAzlZKJl6VpCJXzVqNUr6N5pCei8=";

  passthru = {
    updateScript = nix-update-script { };
    tests.version = testers.testVersion { package = mprocs; };
  };

  meta = {
    description = "TUI tool to run multiple commands in parallel and show the output of each command separately";
    homepage = "https://github.com/pvolok/mprocs";
    changelog = "https://github.com/pvolok/mprocs/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ GaetanLepage pyrox0 ];
    platforms = lib.platforms.unix;
    mainProgram = "mprocs";
  };
}