pick: 1.7.0 -> 1.9.0

This commit is contained in:
Kranium Gikos Mendoza 2017-09-24 21:40:00 +10:00
parent 699231ed78
commit f43baf94a3
1 changed files with 4 additions and 8 deletions

View File

@ -1,23 +1,19 @@
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses }: { stdenv, fetchFromGitHub, autoreconfHook, ncurses, pkgconfig }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "pick-${version}"; name = "pick-${version}";
version = "1.7.0"; version = "1.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "calleerlandsson"; owner = "calleerlandsson";
repo = "pick"; repo = "pick";
rev = "v${version}"; rev = "v${version}";
sha256 = "1x7ql530rj4yj50dzp8526mz92g4hhqxnig1qgiq3h3k815p31qb"; sha256 = "0s0mn9iz17ldhvahggh9rsmgfrjh0kvk5bh4p9xhxcn7rcp0h5ka";
}; };
buildInputs = [ ncurses ]; buildInputs = [ ncurses ];
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
postPatch = ''
sed -i -e 's/\[curses]/\[ncurses]/g' configure.ac
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit (src.meta) homepage; inherit (src.meta) homepage;