mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #94469 from cust0dian/navi-2.7.1
navi: init at 2.7.1
This commit is contained in:
commit
b56eb10f89
@ -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";
|
||||
|
29
pkgs/applications/misc/navi/default.nix
Normal file
29
pkgs/applications/misc/navi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user