nixpkgs/pkgs/development/libraries/libedit/default.nix
Lluís Batlle i Rossell 7cde3a69cd Updating the libedit build so it works fine with wide chars.
svn path=/nixpkgs/branches/stdenv-updates/; revision=24693
2010-11-15 19:39:11 +00:00

24 lines
553 B
Nix

{ stdenv, fetchurl, ncurses}:
stdenv.mkDerivation rec {
name = "libedit-20100424-3.0";
src = fetchurl {
url = "http://www.thrysoee.dk/editline/${name}.tar.gz";
sha256 = "11hxaq58gym7kqccjhxywjxdibffzg545z1aj997y1dn0rckhav0";
};
postInstall = ''
sed -i s/-lncurses/-lncursesw/g $out/lib/pkgconfig/libedit.pc
'';
configureFlags = "--enable-widec";
propagatedBuildInputs = [ ncurses ];
meta = {
homepage = "http://www.thrysoee.dk/editline/";
description = "A port of the NetBSD Editline library (libedit)";
};
}