2010-04-22 19:16:18 +01:00
|
|
|
{ stdenv, fetchurl, ncurses}:
|
2009-04-16 20:25:22 +01:00
|
|
|
|
2009-10-06 17:47:37 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libedit-20090923-3.0";
|
|
|
|
|
2009-04-16 20:25:22 +01:00
|
|
|
src = fetchurl {
|
2009-10-06 17:47:37 +01:00
|
|
|
url = "http://www.thrysoee.dk/editline/${name}.tar.gz";
|
|
|
|
sha256 = "02j66qbd1c9wfghpjb8dzshkcj4i0n9xanxy81552j3is9ilxjka";
|
2009-04-16 20:25:22 +01:00
|
|
|
};
|
2009-10-06 17:47:37 +01:00
|
|
|
|
2010-04-22 19:16:18 +01:00
|
|
|
postInstall = ''
|
|
|
|
sed -i s/-lcurses/-lncurses/g $out/lib/pkgconfig/libedit.pc
|
|
|
|
'';
|
|
|
|
|
2009-04-16 20:25:22 +01:00
|
|
|
propagatedBuildInputs = [ ncurses ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.thrysoee.dk/editline/";
|
|
|
|
description = "A port of the NetBSD Editline library (libedit)";
|
|
|
|
};
|
|
|
|
}
|