2008-02-27 16:48:53 +01:00
|
|
|
{stdenv, fetchurl, tcl}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "expect-5.43.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://expect.nist.gov/old/expect-5.43.0.tar.bz2;
|
|
|
|
sha256 = "1j6vyr8lx1fbl641hkkd6hhh9ifniklskfv00pbvy33h86a3mrvn";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [tcl];
|
|
|
|
|
|
|
|
#NIX_CFLAGS_COMPILE = "-DHAVE_UNISTD_H";
|
|
|
|
|
|
|
|
# http://wiki.linuxfromscratch.org/lfs/ticket/2126
|
|
|
|
#preBuild = ''
|
|
|
|
# substituteInPlace exp_inter.c --replace tcl.h tclInt.h
|
|
|
|
#'';
|
|
|
|
|
2008-04-04 20:24:41 +02:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace configure --replace /bin/stty "$(type -tP stty)"
|
|
|
|
'';
|
2008-03-31 14:57:12 +02:00
|
|
|
|
2008-02-27 16:48:53 +01:00
|
|
|
configureFlags = "--with-tcl=${tcl}/lib --with-tclinclude=${tcl}/include";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tool for automating interactive applications";
|
|
|
|
homepage = http://expect.nist.gov/;
|
|
|
|
};
|
|
|
|
}
|