8 rustPlatform.buildRustPackage rec {
13 inherit pname version;
14 hash = "sha256-C2yK+SO8Tpw3BxXXu1jeDzYJ2548RZa7NFWaE0SdNJ0=";
17 nativeBuildInputs = [ installShellFiles ];
19 outputs = [ "out" "vim" ];
21 cargoHash = "sha256-jBcgoWbmBOgU7M71lr4OXOe2S6NAXl+I8D+ZtT45Vos=";
24 sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim
28 install -D -m 555 bin/sk-tmux -t $out/bin
30 install -D -m 444 plugin/skim.vim -t $vim/plugin
32 install -D -m 444 shell/* -t $out/share/skim
34 installManPage man/man1/*
36 cat <<SCRIPT > $out/bin/sk-share
38 # Run this script to find the skim shared folder where all the shell
39 # integration scripts are living.
42 chmod +x $out/bin/sk-share
45 # https://github.com/lotabout/skim/issues/440
46 doCheck = !stdenv.hostPlatform.isAarch64;
49 description = "Command-line fuzzy finder written in Rust";
50 homepage = "https://github.com/lotabout/skim";
51 license = licenses.mit;
53 maintainers = with maintainers; [ dywedir ];