13 rustPlatform.buildRustPackage {
14 inherit pname version;
16 src = fetchFromGitLab {
17 domain = "gitlab.computer.surgery";
21 hash = "sha256-niXh63xTpXSp9Wqwfi8hUBKJSClOUSvB+TPCTaqHfZk=";
24 cargoHash = "sha256-CKe0nb5JHi5+1UlVOl01Q3qSXQLlpEBdat/IzRKfaz0=";
30 postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) (
31 "installShellCompletion --cmd engage "
32 + builtins.concatStringsSep " " (
33 builtins.map (shell: "--${shell} <($out/bin/engage completions ${shell})") [
42 description = "Task runner with DAG-based parallelism";
43 mainProgram = "engage";
44 homepage = "https://gitlab.computer.surgery/charles/engage";
45 changelog = "https://gitlab.computer.surgery/charles/engage/-/blob/v${version}/CHANGELOG.md";
46 license = with lib.licenses; [
50 maintainers = with lib.maintainers; [ CobaltCause ];