mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
navi: init at 2.7.1
This commit is contained in:
parent
958ea3d5ca
commit
2ddf5fc2e4
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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user