1{ lib, fetchFromGitHub, rustPlatform }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "async";
5 version = "0.1.1";
6
7 src = fetchFromGitHub {
8 owner = "ctbur";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "19ypflbayi5l0mb8yw7w0a4bq9a3w8nl9jsxapp9m3xggzmsvrxx";
12 };
13
14 cargoSha256 = "0y2q46i838gha58p95vcv5r5i14il1kv86k35s30ncfibijgp0lc";
15
16 meta = with lib; {
17 description = "A tool to parallelize shell commands";
18 longDescription = ''
19 `async` is a tool to run shell commands in parallel and is designed to be
20 able to quickly parallelize shell scripts with minimal changes. It was
21 inspired by GNU Parallel, with the main difference being that async
22 retains state between commands by running a server in the background.
23 '';
24 homepage = "https://github.com/ctbur/async";
25 license = licenses.gpl3Plus;
26 maintainers = with maintainers; [ minijackson ];
27 };
28}