nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.03 29 lines 960 B view raw
1{ stdenv, 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 = "1qf52xsd15rj8y9w65zyab7akvzry76k1d4gxvxlz7ph3sl7jl3y"; 15 16 meta = with stdenv.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 platforms = platforms.all; 28 }; 29}