Merge pull request #94469 from cust0dian/navi-2.7.1

navi: init at 2.7.1
This commit is contained in:
Daniël de Kok 2020-08-04 12:07:45 +02:00 committed by GitHub
commit b56eb10f89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 41 additions and 0 deletions

View File

@ -1760,6 +1760,16 @@
githubId = 490965;
name = "Craig Swank";
};
cust0dian = {
email = "serg@effectful.software";
github = "cust0dian";
githubId = 389387;
name = "Serg Nesterov";
keys = [{
longkeyid = "rsa4096/0x1512F6EB84AECC8C";
fingerprint = "6E7D BA30 DB5D BA60 693C 3BE3 1512 F6EB 84AE CC8C";
}];
};
cwoac = {
email = "oliver@codersoffortune.net";
github = "cwoac";

View File

@ -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 ];
};
}

View File

@ -5442,6 +5442,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 { };