9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
14 owner = "slavaGanzin";
17 hash = "sha256-Yrit1WdWIfjwqbjvyjrPT3EqSSkooYX+uoOstbxy//I=";
20 nativeBuildInputs = [ installShellFiles ];
24 $CC await.c -o await -l pthread
31 install -Dm755 await -t $out/bin
32 install -Dm444 LICENSE -t $out/share/licenses/await
33 install -Dm444 README.md -t $out/share/doc/await
34 installShellCompletion --cmd await autocompletions/await.{bash,fish,zsh}
39 nativeInstallCheckInputs = [
42 doInstallCheck = true;
43 versionCheckProgramArg = [ "--version" ];
46 description = "Small binary that runs a list of commands in parallel and awaits termination";
47 homepage = "https://await-cli.app";
48 license = licenses.mit;
49 maintainers = with maintainers; [ chewblacka ];
50 platforms = platforms.all;
51 mainProgram = "await";