{ lib, stdenv, fetchFromGitHub, installShellFiles, nix-update-script, runtimeShell, rustPlatform, skim, testers, }: rustPlatform.buildRustPackage rec { pname = "skim"; version = "0.20.5"; outputs = [ "out" "man" "vim" ]; src = fetchFromGitHub { owner = "skim-rs"; repo = "skim"; tag = "v${version}"; hash = "sha256-BX0WW7dNpNLwxlclFCxj0QnrQ58lchKiEnmethzceqk="; }; postPatch = '' sed -i -e "s|expand(':h:h')|'$out'|" plugin/skim.vim ''; cargoHash = "sha256-t2hkWTb/GhesNCWe2/YunZFo26xcXMjoNCiaKaFLOBk="; nativeBuildInputs = [ installShellFiles ]; postBuild = '' cat <