1 { lib, rustPlatform, fetchFromGitHub, installShellFiles }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "1kvyski3qy2lwlpipynq894i0g9x2j4a1iy2mgdwfibfyfkv2jnm";
14 cargoSha256 = "0handd5vxxvmlllzxhvwgadl4r7yc78f068r8jryprpap31azg3a";
16 nativeBuildInputs = [ installShellFiles ];
19 installManPage doc/{tydra.1,tydra-actions.5}
21 $out/bin/tydra --generate-completions bash > tydra.bash
22 $out/bin/tydra --generate-completions fish > tydra.fish
23 $out/bin/tydra --generate-completions zsh > _tydra
25 installShellCompletion tydra.{bash,fish} _tydra
29 description = "Shortcut menu-based task runner, inspired by Emacs Hydra";
30 homepage = "https://github.com/Mange/tydra";
31 license = licenses.mit;
32 maintainers = with maintainers; [ Br1ght0ne ];