Skip to content

Commit

Permalink
Merge pull request #56525 from dtzWill/update/nnn-2.3
Browse files Browse the repository at this point in the history
nnn: 2.2 -> 2.3
  • Loading branch information
xeji committed Feb 28, 2019
2 parents fa20f98 + a064b6d commit b99b57a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/applications/misc/nnn/default.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{ stdenv, fetchFromGitHub, pkgconfig, ncurses, conf ? null }:
{ stdenv, fetchFromGitHub, pkgconfig, ncurses, readline, conf ? null }:

with stdenv.lib;

stdenv.mkDerivation rec {
name = "nnn-${version}";
version = "2.2";
version = "2.3";

src = fetchFromGitHub {
owner = "jarun";
repo = "nnn";
rev = "v${version}";
sha256 = "01y2vkw1wakpnpzhzia3d44iir060i8vma3b3ww5wgwg7bfpzs4b";
sha256 = "0953l4wa4dnsq9aj50anjrww64413dxv25xx3kjwnqz2ag7zdyy7";
};

configFile = optionalString (conf!=null) (builtins.toFile "nnn.h" conf);
preBuild = optionalString (conf!=null) "cp ${configFile} nnn.h";

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses ];
buildInputs = [ readline ncurses ];

makeFlags = [ "DESTDIR=${placeholder "out"}" "PREFIX=" ];

Expand Down

0 comments on commit b99b57a

Please sign in to comment.