@@ -0,0 +1,29 @@
1+{ rustPlatform, fetchFromGitHub, lib, fzf, makeWrapper }:
2+
3+rustPlatform.buildRustPackage rec {
4+ pname = "navi";
5+ version = "2.7.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "denisidoro";
9+ repo = "navi";
10+ rev = "v${version}";
11+ sha256 = "12p9l41k7isaapr0xbsm7brkjrv7i8826y029i12psz92nsynk29";
12+ };
13+
14+ cargoSha256 = "11dc3gc7fyikbbgacmljhysr2sl7lmq6w3bsfcf2cqny39r25yp0";
15+
16+ nativeBuildInputs = [ makeWrapper ];
17+
18+ postInstall = ''
19+ wrapProgram $out/bin/navi --prefix PATH : ${lib.makeBinPath [ fzf ]}
20+ '';
21+
22+ meta = with lib; {
23+ description = "An interactive cheatsheet tool for the command-line and application launchers";
24+ homepage = "https://github.com/denisidoro/navi";
25+ license = licenses.asl20;
26+ platforms = platforms.unix;
27+ maintainers = with maintainers; [ cust0dian ];
28+ };
29+}