mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
skim: 0.6.2 -> 0.6.4
This commit is contained in:
parent
7c9e225d89
commit
a6da544294
|
@ -2,18 +2,18 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "skim";
|
pname = "skim";
|
||||||
version = "0.6.2";
|
version = "0.6.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lotabout";
|
owner = "lotabout";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "06d2mh60qzm62gn06m1b4pvn9wq2jcna2prgzl69alb6fsfdyp7z";
|
sha256 = "0ywrqfxxqv7mpm4szw8n3hcvc4jn9a490j9s7qh3vzqgrsx2sxk3";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "vim" ];
|
outputs = [ "out" "vim" ];
|
||||||
|
|
||||||
cargoSha256 = "0jypd49cha6fy8dwji7xqp2vsi2as20lk4zymx8z4ifqj0s2qjyb";
|
cargoSha256 = "0vxyi7f5p9blv1isngvad8jrgpwmmv3dkr39qsb2i217jx3mzj2i";
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim
|
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim
|
||||||
|
@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -D -m 555 bin/sk-tmux -t $out/bin
|
install -D -m 555 bin/sk-tmux -t $out/bin
|
||||||
install -D -m 644 shell/skim.1 $out/man/man1/skim.1
|
install -D -m 644 man/man1/* -t $out/man/man1
|
||||||
install -D -m 444 shell/* -t $out/share/skim
|
install -D -m 444 shell/* -t $out/share/skim
|
||||||
install -D -m 444 plugin/skim.vim -t $vim/plugin
|
install -D -m 444 plugin/skim.vim -t $vim/plugin
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue