Merge pull request #149399 from r-ryantm/auto-update/navi
navi: 2.17.0 -> 2.18.0
This commit is contained in:
commit
a24d89ab49
1 changed files with 5 additions and 5 deletions
|
@ -1,17 +1,17 @@
|
|||
{ stdenv, fetchFromGitHub, fzf, lib, makeWrapper, rustPlatform, wget, libiconv }:
|
||||
{ stdenv, fetchFromGitHub, lib, makeWrapper, rustPlatform, wget, libiconv, withFzf ? true, fzf }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "navi";
|
||||
version = "2.17.0";
|
||||
version = "2.18.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "denisidoro";
|
||||
repo = "navi";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-WH8FfQ7cD4aFUi9iE0tR/B+5oWy8tMVmMLxusDwXF7w=";
|
||||
sha256 = "sha256-JG0MZrvpx+cAFcZJK05GUI10PG53UmxjJjveAZA7k/M=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-TH9DNCoUVqH5g05Z4Vdv7F8CCLnaYezupI5FeJhYTaQ=";
|
||||
cargoSha256 = "sha256-S2DBzeir6+JS1jfVxCQ68v4Rl7UBpghbtE+wdu341xw=";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
|
@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
|
|||
postInstall = ''
|
||||
wrapProgram $out/bin/navi \
|
||||
--prefix PATH : "$out/bin" \
|
||||
--prefix PATH : ${lib.makeBinPath [ fzf wget ]}
|
||||
--prefix PATH : ${lib.makeBinPath([ wget ] ++ lib.optionals withFzf [ fzf ])}
|
||||
'';
|
||||
|
||||
checkFlags = [
|
||||
|
|
Loading…
Reference in a new issue