diff --git a/pkgs/navi/default.nix b/pkgs/navi/default.nix index f1b99e4..78e1d9d 100644 --- a/pkgs/navi/default.nix +++ b/pkgs/navi/default.nix @@ -1,30 +1,29 @@ -{ rustPlatform, fetchFromGitHub, stdenv, fzf, makeWrapper }: +{ rustPlatform, fetchFromGitHub, stdenv, fzf, makeWrapper, openssl, pkgconfig }: rustPlatform.buildRustPackage rec { pname = "navi"; - version = "48c2b64f7f184dc351d04d2fe2bda1b2313b8d79"; + version = "2.1.1"; src = fetchFromGitHub { owner = "denisidoro"; repo = "navi"; - # rev = "v${version}"; - rev = "${version}"; - sha256 = "1y7mfai7a0hwzq7kw997w0jwjpzqr2wcfr66jxf60k2jpbf4bk8h"; + rev = "v${version}"; + #rev = "${version}"; + sha256 = "1195f7c3ij2mkv0k1h9fwn6jkyjb01w0p6mj2xc39w5f6i0c0hwp"; }; - cargoSha256 = "18d3b9g2jxkgscx9186v5301y4y01wd00kcs14617fgjnv0lyz1g"; + cargoSha256 = "0ks25w0dncaiw3ma05r8jrng3cczancrynnpgdksbvgz49lg3wjw"; verifyCargoDeps = true; postInstall = '' mkdir -p $out/share/navi/ - mv cheats $out/share/navi/ mv shell $out/share/navi/ wrapProgram "$out/bin/navi" \ - --suffix "PATH" : "${fzf}/bin" \ - --suffix "NAVI_PATH" : "$out/share/navi/cheats" + --suffix "PATH" : "${fzf}/bin" ''; - nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ openssl ]; + nativeBuildInputs = [ makeWrapper pkgconfig ]; meta = with stdenv.lib; { description = "An interactive cheatsheet tool for the command-line";