Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 29 lines 946 B view raw
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 mainProgram = "async"; 19 longDescription = '' 20 `async` is a tool to run shell commands in parallel and is designed to be 21 able to quickly parallelize shell scripts with minimal changes. It was 22 inspired by GNU Parallel, with the main difference being that async 23 retains state between commands by running a server in the background. 24 ''; 25 homepage = "https://github.com/ctbur/async"; 26 license = licenses.gpl3Plus; 27 maintainers = with maintainers; [ minijackson ]; 28 }; 29}