Merge pull request #77746 from filalex77/nnn-2.9

nnn: 2.8.1 -> 2.9
This commit is contained in:
Will Dietz 2020-01-16 18:58:41 -06:00 committed by GitHub
commit ed6e427e90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,17 +4,17 @@ with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nnn"; pname = "nnn";
version = "2.8.1"; version = "2.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jarun"; owner = "jarun";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0h7j0wcpwwd2fibggr1nwkqpvhv2i1qnk54c4x6hixx31yidy2l0"; sha256 = "1pifrcrc8fh85b8h8x01hih9wfclb95sf38s443bs3gip1zdrlk3";
}; };
configFile = optionalString (conf!=null) (builtins.toFile "nnn.h" conf); configFile = optionalString (conf != null) (builtins.toFile "nnn.h" conf);
preBuild = optionalString (conf!=null) "cp ${configFile} nnn.h"; preBuild = optionalString (conf != null) "cp ${configFile} nnn.h";
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ readline ncurses ]; buildInputs = [ readline ncurses ];
@ -30,9 +30,9 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Small ncurses-based file browser forked from noice"; description = "Small ncurses-based file browser forked from noice";
homepage = https://github.com/jarun/nnn; homepage = "https://github.com/jarun/nnn";
license = licenses.bsd2; license = licenses.bsd2;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ jfrankenau ]; maintainers = with maintainers; [ jfrankenau filalex77 ];
}; };
} }