mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 18:42:15 +00:00
9b9b5e2f53
svn path=/nixpkgs/trunk/; revision=25533
27 lines
660 B
Nix
27 lines
660 B
Nix
{ stdenv, fetchurl, ncurses, groff }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libedit-20100424-3.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.thrysoee.dk/editline/${name}.tar.gz";
|
|
sha256 = "11hxaq58gym7kqccjhxywjxdibffzg545z1aj997y1dn0rckhav0";
|
|
};
|
|
|
|
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
|
|
NROFF = "${groff}/bin/nroff";
|
|
|
|
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)";
|
|
};
|
|
}
|