skim: 0.5.1 -> 0.5.2

This commit is contained in:
Vladyslav Mykhailichenko 2018-10-23 10:31:05 +03:00
parent 66760c7c5c
commit ef0a9f42a6

View File

@ -2,23 +2,21 @@
rustPlatform.buildRustPackage rec {
name = "skim-${version}";
version = "0.5.1";
version = "0.5.2";
src = fetchFromGitHub {
owner = "lotabout";
repo = "skim";
rev = "v${version}";
sha256 = "1k7l93kvf5ad07yn69vjfv6znwb9v38d53xa1ij195x4img9f34j";
sha256 = "1b3l0h69cm70669apsgzp7qw1k5fi2gbk9176hjr9iypbdiwjyir";
};
outputs = [ "out" "vim" ];
cargoSha256 = "18lgjh1b1wfm9xsd6y6slfj1i3dwrvzkzszdzk3lmqx1f8515gx7";
cargoSha256 = "0ksxyivdrrs3z5laxkqzq4lql6w0hqf92daazanxkw8vfcksbzsm";
patchPhase = ''
sed -i -e "s|expand('<sfile>:h:h')|'$out'|" plugin/skim.vim
# fix Cargo.lock version
sed -i -e '168s|0.4.0|0.5.1|' Cargo.lock
'';
postInstall = ''
@ -36,7 +34,7 @@ rustPlatform.buildRustPackage rec {
'';
meta = with stdenv.lib; {
description = "Fuzzy Finder in rust!";
description = "Command-line fuzzy finder written in Rust";
homepage = https://github.com/lotabout/skim;
license = licenses.mit;
maintainers = with maintainers; [ dywedir ];