12 rustPlatform.buildRustPackage {
13 inherit pname version;
15 src = fetchFromGitLab {
16 domain = "gitlab.computer.surgery";
20 hash = "sha256-niXh63xTpXSp9Wqwfi8hUBKJSClOUSvB+TPCTaqHfZk=";
23 cargoHash = "sha256-CKe0nb5JHi5+1UlVOl01Q3qSXQLlpEBdat/IzRKfaz0=";
29 postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) (
30 "installShellCompletion --cmd engage "
31 + builtins.concatStringsSep
34 (shell: "--${shell} <($out/bin/engage completions ${shell})")
44 description = "Task runner with DAG-based parallelism";
45 mainProgram = "engage";
46 homepage = "https://gitlab.computer.surgery/charles/engage";
47 changelog = "https://gitlab.computer.surgery/charles/engage/-/blob/v${version}/CHANGELOG.md";
48 license = with lib.licenses; [ asl20 mit ];
49 maintainers = with lib.maintainers; [ CobaltCause ];