Merge pull request #119056 from r-ryantm/auto-update/navi

navi: 2.14.0 -> 2.15.0
This commit is contained in:
Mario Rodas 2021-04-13 00:12:08 -05:00 committed by GitHub
commit cc7a19c7ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,22 @@
{ fetchFromGitHub, fzf, lib, makeWrapper, rustPlatform, wget }:
{ stdenv, fetchFromGitHub, fzf, lib, makeWrapper, rustPlatform, wget, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "navi";
version = "2.14.0";
version = "2.15.0";
src = fetchFromGitHub {
owner = "denisidoro";
repo = "navi";
rev = "v${version}";
sha256 = "sha256-4XR+HazX65jiMvZpLNMNOc8gVVAxMx3bNcVNT6UPJ3o=";
sha256 = "sha256-qcfSGV/+FkyWGAApekRZHWGmeB9gIURt11DKn7lEh+o=";
};
cargoSha256 = "sha256-ZBs9/yoY3na21rQd5zJzFujZZSq2BDoENKYAWI1fnTg=";
cargoSha256 = "sha256-HpGzDZMIzO0lpussmm+kJNOU7zghcYrQWZo3WZ5FOmA=";
nativeBuildInputs = [ makeWrapper ];
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
postInstall = ''
wrapProgram $out/bin/navi \
--prefix PATH : "$out/bin" \