commit
4008dff2e7
1 changed files with 4 additions and 6 deletions
|
@ -2,23 +2,21 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "skim-${version}";
|
name = "skim-${version}";
|
||||||
version = "0.5.1";
|
version = "0.5.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lotabout";
|
owner = "lotabout";
|
||||||
repo = "skim";
|
repo = "skim";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1k7l93kvf5ad07yn69vjfv6znwb9v38d53xa1ij195x4img9f34j";
|
sha256 = "1b3l0h69cm70669apsgzp7qw1k5fi2gbk9176hjr9iypbdiwjyir";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "vim" ];
|
outputs = [ "out" "vim" ];
|
||||||
|
|
||||||
cargoSha256 = "18lgjh1b1wfm9xsd6y6slfj1i3dwrvzkzszdzk3lmqx1f8515gx7";
|
cargoSha256 = "0ksxyivdrrs3z5laxkqzq4lql6w0hqf92daazanxkw8vfcksbzsm";
|
||||||
|
|
||||||
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
|
||||||
# fix Cargo.lock version
|
|
||||||
sed -i -e '168s|0.4.0|0.5.1|' Cargo.lock
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -36,7 +34,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Fuzzy Finder in rust!";
|
description = "Command-line fuzzy finder written in Rust";
|
||||||
homepage = https://github.com/lotabout/skim;
|
homepage = https://github.com/lotabout/skim;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ dywedir ];
|
maintainers = with maintainers; [ dywedir ];
|
||||||
|
|
Loading…
Reference in a new issue