2004-01-30 11:10:06 +01:00
|
|
|
# !!! this should be moved to default.nix eventually (but I delay
|
|
|
|
# doing that since it would cause a rebuild of lots of stuff).
|
|
|
|
|
2004-01-30 18:23:34 +01:00
|
|
|
{stdenv, fetchurl, yacc, m4}:
|
2004-01-30 11:10:06 +01:00
|
|
|
|
2004-04-01 16:24:30 +02:00
|
|
|
assert yacc != null && m4 != null;
|
2004-01-30 11:10:06 +01:00
|
|
|
|
2004-04-01 16:24:30 +02:00
|
|
|
stdenv.mkDerivation {
|
2006-08-01 14:29:54 +02:00
|
|
|
name = "flex-2.5.33";
|
2004-01-30 11:10:06 +01:00
|
|
|
src = fetchurl {
|
2007-08-27 15:01:33 +02:00
|
|
|
url = mirror://sourceforge/flex/flex-2.5.33.tar.bz2;
|
2006-08-01 14:29:54 +02:00
|
|
|
md5 = "343374a00b38d9e39d1158b71af37150";
|
2004-01-30 11:10:06 +01:00
|
|
|
};
|
2004-04-01 16:24:30 +02:00
|
|
|
buildInputs = [yacc];
|
|
|
|
propagatedBuildInputs = [m4];
|
2006-10-11 18:45:55 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A fast lexical analyser generator";
|
|
|
|
};
|
2004-01-30 11:10:06 +01:00
|
|
|
}
|