navi: init at 2.7.1

This commit is contained in:
Serg Nesterov 2020-08-01 22:17:55 +03:00
parent 958ea3d5ca
commit 2ddf5fc2e4
No known key found for this signature in database
GPG Key ID: 7ED18DB77A86EE14
2 changed files with 31 additions and 0 deletions

@ -0,0 +1,29 @@
{ rustPlatform, fetchFromGitHub, lib, fzf, makeWrapper }:
rustPlatform.buildRustPackage rec {
pname = "navi";
version = "2.7.1";
src = fetchFromGitHub {
owner = "denisidoro";
repo = "navi";
rev = "v${version}";
sha256 = "12p9l41k7isaapr0xbsm7brkjrv7i8826y029i12psz92nsynk29";
};
cargoSha256 = "11dc3gc7fyikbbgacmljhysr2sl7lmq6w3bsfcf2cqny39r25yp0";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/navi --prefix PATH : ${lib.makeBinPath [ fzf ]}
'';
meta = with lib; {
description = "An interactive cheatsheet tool for the command-line and application launchers";
homepage = "https://github.com/denisidoro/navi";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ cust0dian ];
};
}

@ -5435,6 +5435,8 @@ in
nat-traverse = callPackage ../tools/networking/nat-traverse { };
navi = callPackage ../applications/misc/navi { };
navilu-font = callPackage ../data/fonts/navilu { stdenv = stdenvNoCC; };
nawk = callPackage ../tools/text/nawk { };