commit
4008dff2e7
1 changed files with 4 additions and 6 deletions
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue